0

Is there a size limit when using the "headers" property of the jQuery.ajax method?

i.e.:

$.ajax({
    type: 'POST',
    url: 'submit.php',
    headers: { 'CUSTOM_DATA': someBigString },// Is there a limit for "someBigString"?
    success: function( returnData ){

        returnTestData = returnData;

    }
});
Resist Design
  • 4,462
  • 3
  • 22
  • 35

1 Answers1

0

The HTTP protocol doesn't define any limit for HTTP headers. There might be limits on your web server though.

Community
  • 1
  • 1
Darin Dimitrov
  • 1,023,142
  • 271
  • 3,287
  • 2,928