API to get the content type that will return the HTTP server?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
   I built a C module to do some activities every time a new
   request is received by the HTTP server.

   Inside this module I need to know the Content Type the HTTP
   Server will send to the client.

   I found the ap_default_type(request_rec *r) API but I just discovered
   that it does not return the content type sent to the client
   because it seems to consider only the mime.types conf. file
   and do not consider the 'AddType' directives inside the httpd.conf.

Could you tell me the way, from my C module, to retrieve the content type
   returned by the HTTP Server to the client?

   Thanks in advance
      giu

--
-----------------------------------------------------------------
Giuliano Catrambone
Director, Professional Services

Open source projects:
http://sourceforge.net/projects/catralibraries/
http://sourceforge.net/projects/openstreaming/

CatraSoftware:
Home page: http://www.catrasoftware.it

Streaming page:
http://www.catrasoftware.it/Streaming/CatraStreamingPlatform.htm

Mobile +39.393.8816655
Fixed: +39.02.90377228
Skype: Catrambone Giuliano
msn: giulianocatrambone@xxxxxxxxxxx
Jabber: giuliano.catrambone@xxxxxxxxxx
Yahoo: giuliano.catrambone
-----------------------------------------------------------------



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux