Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Yesudeep Mangalapilly's latest activity

Monday, July 27 2009
51 xhr.setHeader('Content-type', 'application/json') fails to set Content-type h... was updated in Core
  • Yesudeep Mangalapilly
    Yesudeep Mangalapilly commented at 4:17 PM

    Oh, nice. I can probably use that suggestion to go right ahead.
    However, yes, I second that it would be good to keep the user
    defined content-type.

    Thanks. :-)

  • Yesudeep Mangalapilly
    Yesudeep Mangalapilly created the ticket at 10:57 AM

    Here's the offending piece of code:

    var xhr = new Xhr('/api', {
        onSuccess: function(){
            console.log('success!');
        }
    });
    xhr = xhr.setHeader('Cont...