If you are not sure if the website you would like to visit is secure, you can verify it here. Enter the website address of the page and see parts of its content and the thumbnail images on this site. None (if any) dangerous scripts on the referenced page will be executed. Additionally, if the selected site contains subpages, you can verify it (review) in batches containing 5 pages.
favicon.ico: friendlybit.com/js/partial-xmlhttprequest-responses - Partial XMLHttpRequest respons.

site address: friendlybit.com/js/partial-xmlhttprequest-responses/ redirected to: friendlybit.com/js/partial-xmlhttprequest-responses

site title: Partial XMLHttpRequest responses? - Friendly Bit

Our opinion (on Friday 14 August 2026 15:48:53 UTC):

GREEN status (no comments) - no comments
After content analysis of this website we propose the following hashtags:



Meta tags:
description=We all know how to make an AJAX request, and fetch some data. But as soon as you need to fetch data incrementally, have the server push data to you, you...;

Headings (most frequently used words):

by, emil, stenström, partial, xmlhttprequest, responses, comments, mark,

Text of the page (most frequently used words):
the (19), data (10), you (9), that (8), with (8), #xmlhttprequest (7), this (7), way (6), xhr (6), var (6), twitter (5), but (5), 2012 (4), streaming (4), get (4), and (4), new (4), all (4), parse (4), curr_index (4), last_index (4), partial (4), one (3), emil (3), stenström (3), your (3), against (3), have (3), web (3), see (3), cross (3), would (3), like (3), know (3), method (3), responsetext (3), url (3), responses (3), mark (2), need (2), from (2), may (2), javascript (2), api (2), origin (2), not (2), problem (2), mixed (2), mime (2), jan (2), really (2), curl (2), there (2), easy (2), implement (2), can (2), some (2), make (2), ideally (2), use (2), without (2), stuff (2), server (2), side (2), callback (2), client (2), will (2), only (2), after (2), open (2), abort (2), interval (2), function (2), seconds (2), for (2), content (2), chunk (2), domain (2), think (2), fetch (2), different (2), friendly (2), bit (2), jump (2), yeah, modified, used, titanium, tried, got, error, allowed, access, control, allow, found, around, interesting, idea, multipart, replace, type, http, wikipedia, org, wiki, replace_, 28experimental, comments, far, behind, https, stream, com, statuses, filter, json, track, keyword, nick, working, annoying, something, liner, 100s, lines, code, technologies, browser, platform, possible, set, headers, existing, apis, adding, custom, just, each, time, sends, specified, parameter, native, numerous, hacks, are, out, fills, these, requirements, please, let, love, better, biggest, property, keeps, filling, longer, receive, bigger, memory, fixed, today, simply, kill, connection, certain, amount, has, been, received, again, 25000, clearinterval, settimeout, 5000, setinterval, check, every, log, console, substring, return, length, define, response, send, true, own, cors, note, tested, webkit, allows, requests, works, firefox, too, definitely, work, sorry, simplest, almost, workds, first, read, about, them, should, more, recognition, progressive, xmlhttprequests, kyle, schulz, blog, how, ajax, request, soon, incrementally, push, resort, sorts, complicated, websockets, their, versions, shady, support, kinds, polling, hidden, iframes, activex, modern, feed, contact, navigation,


Text of the page (random words):
partial xmlhttprequest responses friendly bit jump to content or jump to navigation friendly bit contact feed partial xmlhttprequest responses jan 8 2012 emil stenström js modern web we all know how to make an ajax request and fetch some data but as soon as you need to fetch data incrementally have the server push data to you you have to resort to all sorts of complicated stuff websockets with all their different versions and shady support different kinds of polling hidden iframes activex for ie the simplest way that almost workds is partial xmlhttprequest responses i first read about them as progressive xmlhttprequests on kyle schulz blog but really think that method should get more recognition note i ve only tested this with webkit against twitter s streaming api with a xmlhttprequest that allows cross domain requests i think it works with firefox too but it will definitely not work in ie sorry var xhr new xmlhttprequest var url streaming url on you own domain or cors xhr open get url true xhr send define a method to parse the partial response chunk by chunk var last_index 0 function parse var curr_index xhr responsetext length if last_index curr_index return no new data var s xhr responsetext substring last_index curr_index last_index curr_index console log s check for new content every 5 seconds var interval setinterval parse 5000 abort after 25 seconds settimeout function clearinterval interval parse xhr abort 25000 the biggest problem with this method is that the responsetext property keeps filling up with data the longer you receive data the bigger the data in memory will be the only way i can see this fixed today is to simply kill the connection after a certain amount of data has been received and open it up again i would love to see a better way to do this from native javascript without all the numerous hacks that are out there if you know of a way that fills these requirements please let me know easy to implement on the client side ideally i would like to use xmlhttprequest and just get a callback each time the client sends data with the new data specified as a callback parameter easy to implement on the server side i can set some headers if you make me but ideally i would like to use this against existing streaming apis like twitter s without adding custom stuff as cross browser cross platform as possible is there a way to get this working it s so annoying to see something that s a curl one liner be 100s of lines of code with web technologies curl https stream twitter com 1 statuses filter json track your keyword u your twitter nick is the web really that far behind comments jan 8 2012 by emil stenström 1 one interesting idea is the multipart x mixed replace mime type http en wikipedia org wiki mime mixed replace_ 28experimental 29 may 25 2012 by mark 2 i tried your javascript against the twitter streaming api but i got the error origin is not allowed by access control allow origin have you found a way around this problem may 25 2012 by emil stenström 3 mark yeah you need a modified xmlhttprequest i used one from titanium
Thumbnail images (randomly selected): * Images may be subject to copyright.GREEN status (no comments)

    No Images


    Verified site has: 5 subpage(s). Do you want to verify them? Verify pages:

    1-5


    The site also has 1 references to external domain(s).

     kylescholz.com  Verify


    Top 50 hastags from of all verified websites.

    Supplementary Information (add-on for SEO geeks)*- See more on header.verify-www.com

    Header

    HTTP/1.1 301 Moved Permanently
    location htt????/friendlybit.com/js/partial-xmlhttprequest-responses/
    server Fly/40bd1ce81 (2026-08-13)
    via 1.1 fly.io
    fly-request-id 01M00FCG2V637PKBQE8HPCM0BC-ams
    connection close
    content-length 0
    date Fri, 14 Aug 2026 15:48:53 GMT
    HTTP/2 200
    date Fri, 14 Aug 2026 15:48:53 GMT
    server Fly/40bd1ce81 (2026-08-13)
    content-length 3730
    content-type text/html; charset=utf-8
    link <htt???/friendlybit.com/js/partial-xmlhttprequest-responses.md>; rel= alternate ; type= text/markdown
    vary Accept, Accept-Encoding
    content-encoding gzip
    cache-control public, max-age=300
    via 2 fly.io, 2 fly.io
    fly-request-id 01M00FCG4DM9T2EVH6FAXX9NVC-ams

    Meta Tags

    title="Partial XMLHttpRequest responses? - Friendly Bit"
    charset="utf-8"
    http-equiv="X-UA-Compatible" content="IE=edge"
    name="viewport" content="width=device-width, initial-scale=1"
    name="description" content="We all know how to make an AJAX request, and fetch some data. But as soon as you need to fetch data incrementally, have the server push data to you, you..."

    Load Info

    page size3730
    load time (s)0.165466
    redirect count1
    speed download22606
    server IP 66.241.125.70
    * all occurrences of the string "http://" have been changed to "htt???/"