Closed tenntenn closed 11 years ago
I like this, @tylerb can you do a code review?
Looks good to me! Thanks @tenntenn!
@tenntenn we would like you to become a contributor to goweb? Are you interested?
@matryer Oh, I noticed just now your comment. I'm interested in a contributor of goweb.
Great.
What features do you need?
On May 31, 2013, at 6:41 PM, Takuya Ueda notifications@github.com wrote:
@matryer Oh, I noticed just now your comment. I'm interested in a contributor of goweb.
— Reply to this email directly or view it on GitHub.
I added functions and tests for OPTIONS and HEAD methods of http. Because some web browsers use OPTIONS method to checkAccess-Control-Allow-Origin and related headers (see: https://developer.mozilla.org/en-US/docs/HTTP/Access_control_CORS). For example, users want to separate a RESTful API server from a webserver which provides only static files (html, css, and js), users should be set Access-Control-Allow-Origin header to api response when access by OPTIONS method because the origin of the webserver is different from RESTful API's one.