Questions tagged [header]

This tag is deprecated because it lacks discriminating power. Please use a more specific tag instead, e.g.: html-heading, email-header etc.

This tag is deprecated because it lacks discriminating power. Please use a more specific tag instead, e.g.: , etc.

13526 questions
4
votes
2 answers

using trailer header with http chunked transfer. How to set cookie using it

Using trailer I am trying to set a cookie after the page streaming has started. the code below tries to set the cookie. It seems to return proper response but the cookie is not getting set in the browser(ff and chrome). var express =…
Golak Sarangi
  • 809
  • 7
  • 22
4
votes
0 answers

Android MediaRecorder OutputFile: Header is not updated when using FileDescriptor

I simply want to capture audio on my android and stream it over a socket to another server. Everything works as it should except that the file is not readable on the other end. After some testing and file comparisons, it appears that when writing…
4
votes
3 answers

Set cookie while returning a HTTP 204 - No Content

Is it possible for us to set a cookie in a response with an HTTP 204 (No content) status? I managed to set the Set-Cookie header while returning the 204 response (screenshot) However, my browser does not seem to react to this. My document.cookie…
EnGassa
  • 2,927
  • 1
  • 14
  • 16
4
votes
0 answers

D-Bus Header Not Accepted by PreProcessor

While running a configure script I get this warning msg: configure: WARNING: dbus/dbus.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: dbus/dbus.h: proceeding with the compiler's result Why would the preprocessor not…
A1A2A3A4
  • 413
  • 1
  • 5
  • 11
4
votes
2 answers

Using const in header-file

in file.h: extern const int ONE; in file.cpp #include "file.h" const int ONE = 1; and in main.cpp #include #include "file.h" int main() { std::cout << ONE << std::endl; } The question: Why must i use #include "file.h" in file.cpp?…
Simankov
  • 189
  • 1
  • 7
4
votes
3 answers

WPF Toolkit DataGrid: how to get ColumnHeader width to be the same as GridColumn width

For my WPF Toolkit DataGrid I use the following custom column header style: