2011-07-04
HAR
var resendHAR = function(meta) { var har = meta.har; var xhr = new XMLHttpRequest(); xhr.open(har.request.method, har.request.url, true); xhr.onreadystatechange = function() { if (xhr.readyState === 4 && xhr.status === 200) { console.log(xhr.responseText); meta.success && meta.success(xhr.responseText); } }; if (har.request.method === 'POST') { xhr.setRequestHeader('Content-Type', har.request.postData.mimeType); xhr.send(har.request.postData.text); } else { xhr.send(); } };
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
Twitter Updates
Twitter Updates
follow me on Twitter
misbug.blogspot.com
archive
▼
2011
(3)
▼
July
(1)
HAR
►
June
(1)
►
February
(1)
►
2010
(10)
►
September
(1)
►
May
(1)
►
April
(1)
►
March
(3)
►
February
(3)
►
January
(1)
►
2009
(7)
►
November
(1)
►
October
(3)
►
July
(1)
►
March
(1)
►
January
(1)
►
2008
(8)
►
November
(1)
►
September
(1)
►
June
(2)
►
March
(2)
►
February
(2)
►
2007
(3)
►
August
(1)
►
June
(1)
►
April
(1)
labels
javascript
(10)
books
(5)
coding
(3)
lomtiki
(3)
review
(3)
google reader
(2)
java
(2)
userscripts
(2)
abooks
(1)
ajax
(1)
autoscroll
(1)
chrome
(1)
education
(1)
gae
(1)
hardware
(1)
opera mini
(1)
opera presto
(1)
pm
(1)
web design
(1)
xp
(1)
shared items
links
Google Reader
contact
roman.shafigullin
- Google Talk / Gmail
roman.shafigullin
- Skype
roman.shafigullin@qip.ru - Jabber
282585498
- ICQ
id748701
- vkontakte.ru
sorted by priority
about misbug.blogspot.com
Designed by Roman Shafigullin
Code Syntax Highlighter
. Version 1.5.1. Copyright 2004-2007 Alex Gorbatchev.
MooTools
. Version 1.2.1. Copyright 2006-2008 Valerio Proietti