Read header data from a HTTP POST request

What platform (delphi or .net) you are using ?
for delphi, you can use this snippet.