{"action":"created","issue":{"url":"https://api.github.com/repos/solid/vocab/issues/2","labels_url":"https://api.github.com/repos/solid/vocab/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/solid/vocab/issues/2/comments","events_url":"https://api.github.com/repos/solid/vocab/issues/2/events","html_url":"https://github.com/solid/vocab/issues/2","id":123949430,"number":2,"title":"Property for proxy URL prefix","user":{"login":"csarven","id":429987,"avatar_url":"https://avatars.githubusercontent.com/u/429987?v=3","gravatar_id":"","url":"https://api.github.com/users/csarven","html_url":"https://github.com/csarven","followers_url":"https://api.github.com/users/csarven/followers","following_url":"https://api.github.com/users/csarven/following{/other_user}","gists_url":"https://api.github.com/users/csarven/gists{/gist_id}","starred_url":"https://api.github.com/users/csarven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csarven/subscriptions","organizations_url":"https://api.github.com/users/csarven/orgs","repos_url":"https://api.github.com/users/csarven/repos","events_url":"https://api.github.com/users/csarven/events{/privacy}","received_events_url":"https://api.github.com/users/csarven/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-26T21:41:16Z","updated_at":"2015-12-26T21:43:59Z","closed_at":null,"body":"Might be a good idea to have the resources declare their preferred proxy URL. This is so that, proxy URLs can be discovered without hardcoding or maintaining the URLs in the application. That is, the application only needs to find the value of the property, and then use the prefix URL.\r\n\r\nExample part of the response:\r\n\r\n```\r\n<http://example.org/> :proxyURLPrefix \"http://example.org/,proxy?uri=\"\r\n```\r\n\r\nand/or:\r\n\r\nExample part of the HTTP Header:\r\n```\r\nProxyURLPrefix: http://example.org/,proxy?uri=\r\n```\r\n\r\nIt is okay to try and use `,proxy?uri=` in applications, but I think that expectation is not necessarily always going to work out in the wild. Servers are going to use whatever pattern they can and want. And, it is likely that they'll re-use an existing one instead of changing its path to a new one so that it is compatible with Solid - which is costly."},"comment":{"url":"https://api.github.com/repos/solid/vocab/issues/comments/167364730","html_url":"https://github.com/solid/vocab/issues/2#issuecomment-167364730","issue_url":"https://api.github.com/repos/solid/vocab/issues/2","id":167364730,"user":{"login":"rhiaro","id":466229,"avatar_url":"https://avatars.githubusercontent.com/u/466229?v=3","gravatar_id":"","url":"https://api.github.com/users/rhiaro","html_url":"https://github.com/rhiaro","followers_url":"https://api.github.com/users/rhiaro/followers","following_url":"https://api.github.com/users/rhiaro/following{/other_user}","gists_url":"https://api.github.com/users/rhiaro/gists{/gist_id}","starred_url":"https://api.github.com/users/rhiaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhiaro/subscriptions","organizations_url":"https://api.github.com/users/rhiaro/orgs","repos_url":"https://api.github.com/users/rhiaro/repos","events_url":"https://api.github.com/users/rhiaro/events{/privacy}","received_events_url":"https://api.github.com/users/rhiaro/received_events","type":"User","site_admin":false},"created_at":"2015-12-26T21:43:59Z","updated_at":"2015-12-26T21:43:59Z","body":" I think applications are better placed to make decisions about which proxy to use than resource owners are. And applications are going to be more likely to keep this up to date if proxies die etc because the function of the app could depend on it. "}}