incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Hayton <theb...@purplebulldog.com>
Subject Re: couchdb and extjs problems accepting json
Date Thu, 12 Aug 2010 16:29:33 GMT
Try running extjs script served up by couch.  You have extjs not running on same port as couch
if I remember correctly.  Other option is the proxy extjs offers.  

Sent Via iPhone

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
> 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 =
> 
> 
> 
> 
> 
> 
> 
> 

Mime
View raw message