Joe Dickinson created COUCHDB-3263:
--------------------------------------

             Summary: using put action under chrome with angular2 error 405
                 Key: COUCHDB-3263
                 URL: https://issues.apache.org/jira/browse/COUCHDB-3263
             Project: CouchDB
          Issue Type: Bug
            Reporter: Joe Dickinson


I have followed the instructions allowing cors. Working a put action under 
chrome.  The only way forward here is to get off the couch and write a proxy 
that will take data and forward it to here.

Thoughts?

Request URL:http://localhost:5984/members/994
Request Method:OPTIONS
Status Code:405 Method Not Allowed
Remote Address:127.0.0.1:5984
Response Headers
view source
Access-Control-Allow-Credentials:true
Access-Control-Allow-Origin:http://localhost:3000
Access-Control-Expose-Headers:content-type, cache-control, accept-ranges, etag, 
server, x-couch-request-id, x-couch-update-newrev, x-couchdb-body-time
Allow:DELETE,GET,HEAD,POST,PUT,COPY
Cache-Control:must-revalidate
Content-Length:85
Content-Type:application/json
Date:Wed, 28 Dec 2016 20:29:07 GMT
Server:CouchDB/2.0.0 (Erlang OTP/17)
X-Couch-Request-ID:48eefd13fc
X-CouchDB-Body-Time:0
Request Headers
view source
Accept:*/*
Accept-Encoding:gzip, deflate, sdch
Accept-Language:en-US,en;q=0.8
Access-Control-Request-Headers:
Access-Control-Request-Method:PUT
Connection:keep-alive
Host:localhost:5984
Origin:http://localhost:3000
Referer:http://localhost:3000/maintenance
User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, 
like Gecko) Chrome/53.0.2785.143 Safari/537.36



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to