httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Noordhuis <i...@bnoordhuis.nl>
Subject Re: Re: How to send a jpeg-file in Handler
Date Wed, 19 Jan 2011 13:10:22 GMT
2011/1/19 Whut  Jia <whut_jia@163.com>:
> Can I don't use sub-request??
> I want only a single picture to client;Just like the same as sending a text :
> r->content_type="text/html";
> ap_rputs("helloworld",r);
> return OK;

Not sure what you mean. If it's a single static image, convert it to a
C byte array and send it with ap_rwrite().

Mime
View raw message