Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] pb with httprequest and firefox
- From: bernu at lptmc.jussieu.fr (Bernu Bernard)
- Subject: [Javascript] pb with httprequest and firefox
- Date: Wed Nov 29 11:55:14 2006
Le Nov 29, 2006 ? 1:47 PM, Nick Fitzsimons a ?crit : > On 29 Nov 2006, at 09:34:51, Alex Turner wrote: > >> >> My suggestion would be to get JMeter, and set it up as a proxy. >> Then run the test through it and see what the conversation >> actually contains - then you will not be going off on a 'wild >> goose chase'. >> > > Another good way of viewing HTTP traffic, if you're running > Windows, is Fiddler <http://www.fiddlertool.com>. Written by a chap > at Microsoft, it acts as an HTTP debugging proxy; you can replay > requests with modifications, have breakpoints for certain request/ > response conditions, examine raw traffic, view pretty-printed XML > responses and even use event-driven JScript.NET scripts to do some > really powerful stuff. It automatically sets itself up in Internet > Explorer as a toolbar button, but other browsers can use it as long > as you configure them to use it as a proxy - I've even had Java > servlets (acting as rewriting proxies) running under Tomcat use it, > so I could see traffic from my PDA to the servlet, then see the > traffic from the servlet to the Internet, and see what happened the > response as it travelled its winding journey back :-) > > It's a free download from the above URL, and makes me deeply > unpopular among my colleagues when I start telling them their > Content-Type and cache-control headers are incorrect. > > Regards, > > Nick. > -- > Nick Fitzsimons > http://www.nickfitz.co.uk/ > > > > _______________________________________________ > Javascript mailing list > Javascript@xxxxxxxxxx > https://lists.LaTech.edu/mailman/listinfo/javascript Thanks Nick and Alex for your responses. As I was receiving the data in responseText, I was supposing I could received any kind of string, even one that is representing a json- like stuff. What I do later is just eval( req.responseText ). The HTTP Content-Type header is actually : "text/html;charset=UTF-8" I'll try to change the header and let you know. Thanks again, Bernard
- References:
- [Javascript] pb with httprequest and firefox
- From: Bernu Bernard
- [Javascript] pb with httprequest and firefox
- From: Nick Fitzsimons
- [Javascript] pb with httprequest and firefox
- From: Alex Turner
- [Javascript] pb with httprequest and firefox
- From: Nick Fitzsimons
- [Javascript] pb with httprequest and firefox
- Prev by Date: [Javascript] dynamically hide an element
- Next by Date: [Javascript] Quick question on passing reference to url
- Previous by thread: [Javascript] pb with httprequest and firefox
- Next by thread: [Javascript] dynamically hide an element
- Index(es):