Project

General

Profile

Bug #3166

Support for the http OPTION request in the web server

Added by zapp -it over 5 years ago. Updated over 5 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2015-10-16
Due date:
% Done:

100%

Estimated time:
Found in version:
4.1-611~g403a432-dirty
Affected Versions:

Description

When making a XMLHttpRequest in js and add headers (like authorization), the js will first post an OPTIONS /api/channel/grid HTTP/1.1 request to the web server which is not recognized by the webserver, so the webserver returns an 400 bad request.

Associated revisions

Revision 3b851fb3 (diff)
Added by Jaroslav Kysela over 5 years ago

http server: implement OPTIONS command for CORS, fixes #3166

History

#1

Updated by Jaroslav Kysela over 5 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100
#2

Updated by Jaroslav Kysela over 5 years ago

  • Target version set to 4.2

Fixed in v4.1-637-g3b851fb .

Also available in: Atom PDF