[Webkit-unassigned] [Bug 136081] Safari fails on request to a non-authenticated API
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 2 13:58:38 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=136081
Kevin Lee <kevinlee324 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kevinlee324 at gmail.com
--- Comment #3 from Kevin Lee <kevinlee324 at gmail.com> ---
I'm experiencing the same issue with the following code snippet:
$http({
method: 'post',
url: $scope.service !== 'Photography' ? 'https://script.google.com/macros/s/identifyinginformationhere/exec' : 'https://script.google.com/macros/s/differentinformationhere/exec',
params: dict
})
.success(successf)
.error(errorf);
which generates the following three debugging output:
[Error] Failed to load resource: the server responded with a status of 405 (Method Not Allowed)
[Error] Failed to load resource: Cannot make any requests from null.
XMLHttpRequest cannot load https://script.googleusercontent.com/macros/echo?user_content_key=moredifferentinformationhere. Cannot make any requests from null.
It seems to be a CORS issue. This code works in all other browsers, just like Cory's. The request actually makes it through, because I can see modifications on the Google spreadsheet the request POSTs to, but unlike the other browsers I get a 405 and error runs. On chrome I get a 302 and successf runs.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150402/c67a749b/attachment-0001.html>
More information about the webkit-unassigned
mailing list