webserver
Parse body of POST reqest in self-made server in Ruby
I am writing mock Ruby servers to test components of API. I send a POST request with a body, and I\'d like my mock server to return a body of that POST request. Currently i hav开发者_开发知识库e this[详细]
2023-03-19 08:53 分类:问答Ruby script does not send body of POST request to server
I am writing a mock server in Ruby to test our internal API. I\'d like to include a body of POST request in server response. I use Net::HTTP::Server and Net::HTTP class.[详细]
2023-03-19 04:34 分类:问答Receiving HTTP headers
In educational purposes I\'m writing a HTTP server in C++. When receiving a request, how do I know when the client has finished sending headers? Is there an obligation that all headers must be sent in[详细]
2023-03-18 23:37 分类:问答Apache htaccess multiple rewritecond
I\'m having issues in writing rewritecond in the htaccess file on my web server. If someone could help me out, it would be very helpful to me.[详细]
2023-03-18 16:40 分类:问答Is there a way to get files from a webserver when directory listing is deactivated?
I try to build a \"crawler\" or a \"atuomatic downloader\" for each file is based on a webserver / webpage.[详细]
2023-03-17 12:35 分类:问答web server as a non root user
I searched on google about this but couldnt find much. I need开发者_高级运维 to setup a server on a non root user account ,so that people can access it and store information on this. Can you tell me h[详细]
2023-03-17 09:09 分类:问答check last blank line of HTTP request using perl chomp
I\'m pretty new to Perl. My Perl program is getting the HTTP request message from browser, I want to detect the last blank line.[详细]
2023-03-17 01:11 分类:问答How to parse a JPG as PHP and return a JPG
I have a dynamic image I\'m trying to create, which previously worked on one web host, until I found out they removed some features, some of which broke my image. I recently moved to hostgator, and I[详细]
2023-03-16 18:41 分类:问答Which is the proper HTTP response code for redirection?
When a web server wishes to redirect a user\'s browser, which status code (ie, \"200 OK\") should it place in the response header? From my reading it seems the answer could开发者_JAVA百科 be any one o[详细]
2023-03-16 16:55 分类:问答Which method to detect run mode of php script is more reliable?
I now to ways to detect weather php script runs in cli or web server mode: if (defined(\'STDIN\')) or: if (isset($argc))[详细]
2023-03-14 19:01 分类:问答