{"action":"created","issue":{"url":"https://api.github.com/repos/NancyFx/Nancy/issues/868","labels_url":"https://api.github.com/repos/NancyFx/Nancy/issues/868/labels{/name}","comments_url":"https://api.github.com/repos/NancyFx/Nancy/issues/868/comments","events_url":"https://api.github.com/repos/NancyFx/Nancy/issues/868/events","html_url":"https://github.com/NancyFx/Nancy/issues/868","id":9320337,"number":868,"title":"Add Save method to HttpFile","user":{"login":"thecodejunkie","id":50543,"avatar_url":"https://avatars.githubusercontent.com/u/50543?v=3","gravatar_id":"","url":"https://api.github.com/users/thecodejunkie","html_url":"https://github.com/thecodejunkie","followers_url":"https://api.github.com/users/thecodejunkie/followers","following_url":"https://api.github.com/users/thecodejunkie/following{/other_user}","gists_url":"https://api.github.com/users/thecodejunkie/gists{/gist_id}","starred_url":"https://api.github.com/users/thecodejunkie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thecodejunkie/subscriptions","organizations_url":"https://api.github.com/users/thecodejunkie/orgs","repos_url":"https://api.github.com/users/thecodejunkie/repos","events_url":"https://api.github.com/users/thecodejunkie/events{/privacy}","received_events_url":"https://api.github.com/users/thecodejunkie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2012-12-16T22:50:19Z","updated_at":"2015-08-24T21:36:34Z","closed_at":"2015-08-24T21:36:34Z","body":"Should we add a `Save` method to `HttpFile`? It could be done in three ways.\r\n\r\n1. Add a `Save` method that let you pass in an arbitrary path of where the file should be saved\r\n1. Add a `Save` method that took an application-relative path where the file should be saved. We would inject the `IRootPathProvider` into each instance so it expended the relative path internally\r\n1. Add two methods for saving, one that took the arbitrary path and the one that took the relative one. We would have to give them separate names that pointed out the differences\r\n\r\nI personally think approach 2 would be the way to go. If you have any application-specific requirements then you can always save the file yourself, by taking the value of the file and stick it where ever you want to\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NancyFx/Nancy/issues/comments/134387835","html_url":"https://github.com/NancyFx/Nancy/issues/868#issuecomment-134387835","issue_url":"https://api.github.com/repos/NancyFx/Nancy/issues/868","id":134387835,"user":{"login":"thecodejunkie","id":50543,"avatar_url":"https://avatars.githubusercontent.com/u/50543?v=3","gravatar_id":"","url":"https://api.github.com/users/thecodejunkie","html_url":"https://github.com/thecodejunkie","followers_url":"https://api.github.com/users/thecodejunkie/followers","following_url":"https://api.github.com/users/thecodejunkie/following{/other_user}","gists_url":"https://api.github.com/users/thecodejunkie/gists{/gist_id}","starred_url":"https://api.github.com/users/thecodejunkie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thecodejunkie/subscriptions","organizations_url":"https://api.github.com/users/thecodejunkie/orgs","repos_url":"https://api.github.com/users/thecodejunkie/repos","events_url":"https://api.github.com/users/thecodejunkie/events{/privacy}","received_events_url":"https://api.github.com/users/thecodejunkie/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T21:36:34Z","updated_at":"2015-08-24T21:36:34Z","body":"Investigated this further and it is going to have a huge impact on how our hosts consume Nancy. This is probably not going to happen in the 1.x time frame nor the 2.x time frame"}}