{"action":"closed","issue":{"url":"https://api.github.com/repos/jstedfast/MimeKit/issues/184","labels_url":"https://api.github.com/repos/jstedfast/MimeKit/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/jstedfast/MimeKit/issues/184/comments","events_url":"https://api.github.com/repos/jstedfast/MimeKit/issues/184/events","html_url":"https://github.com/jstedfast/MimeKit/issues/184","id":114798434,"number":184,"title":"Reading/Writing for HttpRequest/HttpResponse","user":{"login":"adminnz","id":1552285,"avatar_url":"https://avatars.githubusercontent.com/u/1552285?v=3","gravatar_id":"","url":"https://api.github.com/users/adminnz","html_url":"https://github.com/adminnz","followers_url":"https://api.github.com/users/adminnz/followers","following_url":"https://api.github.com/users/adminnz/following{/other_user}","gists_url":"https://api.github.com/users/adminnz/gists{/gist_id}","starred_url":"https://api.github.com/users/adminnz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adminnz/subscriptions","organizations_url":"https://api.github.com/users/adminnz/orgs","repos_url":"https://api.github.com/users/adminnz/repos","events_url":"https://api.github.com/users/adminnz/events{/privacy}","received_events_url":"https://api.github.com/users/adminnz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jstedfast/MimeKit/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-03T11:47:05Z","updated_at":"2015-11-03T11:52:22Z","closed_at":"2015-11-03T11:52:22Z","body":"I'm currently working on an implementation of the AS2 protocol ([RFC4130](http://www.rfc-base.org/txt/rfc-4130.txt)) which is Mime messages over HTTP.\r\n\r\nI've seen your FAQ on how to parse multipart/form-data. But how would you suggest parsing all the headers from the request not just the Content-Type.\r\nHow would this impact the ability to meet section 7.3.1 of RFC4130, which is to do with calculating a MIC. \r\n\r\nSecondly I'm able to build the the Mime message response (Message Disposition Notification) but am coming up with the issue of writing the message to the response.\r\nBut the issue (as you probably already know based on your comments in the FAQ) is that the response  stream is just the body, and the headers are controlled by the HttpContentHeaders (because im using web api).\r\n\r\nWhat would be your suggestion on how to modify the MimeMessage.WriteTo(..) to support writing the correct headers out to the Response headers and then the body out to the Response stream.\r\n"}}