)]}'
{"requirements.txt":[{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"f870c7338b61473e5f0a330356f86aff4f8d6a7d","unresolved":false,"context_lines":[{"line_number":31,"context_line":"oslo.config\u003e\u003d2.3.0 # Apache-2.0"},{"line_number":32,"context_line":"oslo.context\u003e\u003d0.2.0 # Apache-2.0"},{"line_number":33,"context_line":"oslo.i18n\u003e\u003d1.5.0 # Apache-2.0"},{"line_number":34,"context_line":"oslo.middleware\u003e\u003d2.9.0 # Apache-2.0"},{"line_number":35,"context_line":"oslo.serialization\u003e\u003d1.4.0 # Apache-2.0"},{"line_number":36,"context_line":"oslo.service\u003e\u003d0.7.0 # Apache-2.0"},{"line_number":37,"context_line":"oslo.utils\u003e\u003d2.0.0 # Apache-2.0"}],"source_content_type":"text/plain","patch_set":5,"id":"3a29b11f_cebba00d","line":34,"range":{"start_line":34,"start_character":0,"end_line":34,"end_character":35},"updated":"2015-10-19 14:08:07.000000000","message":"Generally, things should be added to the bottom of the list  so as to not break anything (as they\u0027re loaded in order; see the comment at the beginning of the file).  i.e. it\u0027s not necessary, or even recommended, to put them in alphabetical order.","commit_id":"c0981a2f34da155cb240d3a902e09733d86f441d"}],"trove/common/middleware.py":[{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"a709732c5414051189280a2e40a1ffa2fd61a4e6","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    app \u003d cors_middleware.CORS(app, CONF)"},{"line_number":30,"context_line":"    app.set_latent("},{"line_number":31,"context_line":"        allow_headers\u003d[\u0027X-Auth-Token\u0027, \u0027X-Server-Management-Url\u0027],"},{"line_number":32,"context_line":"        allow_methods\u003d[\u0027GET\u0027, \u0027PUT\u0027, \u0027POST\u0027, \u0027DELETE\u0027, \u0027PATCH\u0027],"},{"line_number":33,"context_line":"        expose_headers\u003d[\u0027X-Auth-Token\u0027, \u0027X-Server-Management-Url\u0027]"},{"line_number":34,"context_line":"    )"},{"line_number":35,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"9a1a9d01_64a84178","line":32,"range":{"start_line":32,"start_character":23,"end_line":32,"end_character":62},"updated":"2015-10-04 17:32:31.000000000","message":"In the sample trove.conf file, there is an allow_methods config option, but the values are hard-coded here.  Could you explain what the config option is for then?","commit_id":"35a62af784a05880f7c748c165e01bc27af1fe2a"},{"author":{"_account_id":4240,"name":"Craig Vyvial","email":"cp16net@gmail.com","username":"cp16net"},"change_message_id":"e5cd427d084b75875bd7d6567d133507e5902a5f","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    app \u003d cors_middleware.CORS(app, CONF)"},{"line_number":30,"context_line":"    app.set_latent("},{"line_number":31,"context_line":"        allow_headers\u003d[\u0027X-Auth-Token\u0027, \u0027X-Server-Management-Url\u0027],"},{"line_number":32,"context_line":"        allow_methods\u003d[\u0027GET\u0027, \u0027PUT\u0027, \u0027POST\u0027, \u0027DELETE\u0027, \u0027PATCH\u0027],"},{"line_number":33,"context_line":"        expose_headers\u003d[\u0027X-Auth-Token\u0027, \u0027X-Server-Management-Url\u0027]"},{"line_number":34,"context_line":"    )"},{"line_number":35,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"7a2fa921_57ff1c34","line":32,"range":{"start_line":32,"start_character":23,"end_line":32,"end_character":62},"in_reply_to":"9a1a9d01_64a84178","updated":"2015-10-13 04:25:58.000000000","message":"Took me a bit to figure this out from the CORS code but i just found that the config that is setup per the allowed_origin is appended with the latent config that is set here. So the config is to set extra methods and headers. \n\nhttps://github.com/openstack/oslo.middleware/blob/master/oslo_middleware/cors.py#L297-L300\n\nhttps://github.com/openstack/oslo.middleware/blob/master/oslo_middleware/cors.py#L308-L311","commit_id":"35a62af784a05880f7c748c165e01bc27af1fe2a"}]}
