HI am sending the header information (like below)to node.js on the server
side, but it is not working.
How to pass the header information to server from client. and how to get on
the server side .
Pls if anyone knows... let me know
this is the ajax request call fron client html page:
client.html:
$.ajax({
// url:'http://10.163.14.52:8888/all',
url:'http://IPaddress:port/getTaluk/',
type:'POST',
datatype:'json',
data:inputVal,
headers : {
'emp_value':s,
'signature':hash,
'timestamp':t
},
complete:function(){
alert(":"+data);
}
});
on the server side am getting like this using nodejs:
console.log("emp_value:"+req.headers['emp_value']);
but i can't able to get it.
On Tue, May 14, 2013 at 7:38 AM, Andrey <[email protected]> wrote:
> Hi everyone,
> I'm trying to benchmark network protocol client, and profiler tells me
> that client spend most of the time inside uv write request. Simple
> ping-pong test[1] shows 15k roundtrips/sec limit (MacBookAir5,1/OSX). CPU
> load is reasonably low ( less than 50% on client and server, 4 cores ). Can
> anyone explain what is the limit here - libuv, TCP stack, v8, ping script,
> CPU or something else?
>
> [1] https://gist.github.com/sidorares/5573057
>
> Cheers,
> Andrey.
>
> --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Thanks,
N. Srividhya.
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.