tags:

views:

189

answers:

3

Hi,

How can I modify https header? I want to implement an additional information inside the https header. Is there any way I can realize this?

Currently I'm focusing on Firefox and Mozilla NSS.

Thanks.

+1  A: 

There's really no HTTPS header - it's HTTP header but it's send over SSL (so it's encrypted). If you own the server and handling requests there then you can pretty much add any header stuff if you are creating request anew (e.g. with HttpClient) but if you are intercepting it then I don't think there's much you can do since again - it's all encrypted

DroidIn.net
+1  A: 

I'm assuming you want your browser to send additional information to the server inside the headers. There appears to be a plugin for this called modify headers which might do what you want. But there's not much point - any data you want to send to your application can more easily be send in your GET or POST.

If you want to send additional headers from your web application to the client, this varies by language. In PHP for instance, you call the header function with the data you want to send. But again, there is not much point unless you have some browser-side application that reads these headers (like the FireBug plugin, which uses custom headers to display PHP debugging information).

Igor
A: 

Firstly, thanks guys for your replies. Yep, so far, I also found out that its all encrypted. hmm.. My plan is to do a little bit modify/addition to my browser (Firefox), so everytime the request is a https url, it will run my functions and key in extra info.

My plan is not a server side app. Its just an internet browser that have a little twist in handling https.

karikari