On Aug 12, 2010, at 9:20 AM, whimsica@aol.com wrote:
> 405 Method not allowed is the problem
>
> I'm now using firebug and tracking the NET responses.
>
> when the extjs calls
> http://localhost:5984/wikiha/_design/view1/_view/myview.json
This URL isn't proper.
The Couch View will be at
http://localhost:5984/wikiha/_design/view1/_view/myview
eg without the .json suffix.
Maybe that is part of it.
What verb did you use to get the 405? It seems you should have gotten a 404 but maybe there
is another thing happening.
Chris
> it gives back a 405 method not allowed error.
>
> What does that mean
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: whimsica@aol.com
> To: user@couchdb.apache.org
> Sent: Thu, Aug 12, 2010 8:31 am
> Subject: Re: couchdb and extjs problems accepting json
>
>
> I don't know if that's the right thing but I'm asking on the extjs forum.
> It seems it would be easier to force couchdb to force send application/json for the view
query?
> Is there any way to do that?
>
> Thanks,
>
> Dan
>
>
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: Aurélien Bénel <aurelien.benel@utt.fr>
> To: user@couchdb.apache.org
> Sent: Thu, Aug 12, 2010 1:31 am
> Subject: Re: couchdb and extjs problems accepting json
>
>
>> I don't know how to send anything along with that.
>
>
>
>
>
>> Can you tell me what needs to be done/fixed?
>
>
>
>
>
>
>
>
>
>
>
> It would probably better to ask the extjs community about how to add headers...
>
>
>
>
>
> But it seems that your answer is here:
>
>
>
>
>
> http://dev.sencha.com/deploy/ext/docs/output/Ext.Ajax.html (search the page for
>
>
>
>
>
> "headers").
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Regards,
>
>
>
>
>
>
>
>
>
>
>
> Aurélien =
>
>
>
>
>
>
>
>
|