Oh I don't know, your submissions are always helpful.
Agreed.
Great. Thank you, in that case I'm working on this now
but I noticed that
when prepareForBrowse populates the string 'javatext' after
a successful '200 OK' response, this is just the page body.
Is there a way to return the entire 'raw' response with
headers on the beginning? I think the idiom is that the
xhr object in JS will have
blah.responseHeaders
blah.responseText
and maybe
blah.responseXML
etc
And some calling site's code might then switch on the
response header values, or grab the Set-Cookie:, or something.
I'll remove my hardcoded test for hcode=='200' and assuming
that both headers & body can be returned to JS, just deal
with carving it up there.
Adam said,
How about a toggle? Karl could that work?
Like an xhr command to toggle whether xhr actually made connections or not.
Sounds like a good idea- this would be a boolean similar to
other configurables, right? So if I carry on with this routine
I'm doing, then later it could be wrapped in:
if (xhr)
{
}
Is that OK?
thanks
Kevin
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev