Skip to main content

Bug Tracker

Side navigation

#4709 closed feature (invalid)

Opened June 01, 2009 04:54AM UTC

Closed June 15, 2010 03:13AM UTC

setRequestHeader

Reported by: phpbasic.com Owned by:
Priority: major Milestone: 1.4
Component: ajax Version: 1.3.2
Keywords: setRequestHeader Cc: wajax@gmail.com
Blocked by: Blocking:
Description

Hi guys,

I try set header when use ajax method post

$.post('url.php',{

'title': 'title test',

beforSend: function(o){

o.setRequestHeader('powered: mysite');

}

});

but not work, can you explain me how to setRequestHeader when use $.post

Thanks

Attachments (0)
Change History (1)

Changed June 15, 2010 03:13AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

Use $.ajax; the object in $.post is for data, not ajax options. If you need further help, ask on the forum.