hforge / itools

Python library with tons of features
http://www.hforge.org/itools
GNU General Public License v3.0
22 stars 12 forks source link

Fix Allow and Access_Control_Allow_Methods usage #99

Closed fchenebault closed 7 years ago

fchenebault commented 7 years ago

In fact Allow header must only be used for 405 requests (and is mandatory) In every other case Access Control Allow Methods should be used

CF https://tools.ietf.org/html/rfc7231#section-6.5.5