Sponsored Content
Top Forums Web Development HTTP Headers Reference: HTTP Status-Codes Post 302872385 by Neo on Friday 8th of November 2013 09:32:07 AM
Old 11-08-2013
FWIW, we are starting to configuration our web server to return the 403 Forbidden status code for robots and spiders who do not follow our robots.txt directives.
 

9 More Discussions You Might Find Interesting

1. Programming

http library in C

hi I have to make http requests in my program. Where can i find C module or a library implementing http. thx:confused: (1 Reply)
Discussion started by: ss_hpov
1 Replies

2. UNIX for Advanced & Expert Users

http

how to downloaad a web page using http server (0 Replies)
Discussion started by: krishnavel
0 Replies

3. Windows & DOS: Issues & Discussions

HTTP Status 500

Hello all, sori my english very bad,but 1 month i search about this case and nothing can help,maybe I wrong place but please if anybody can help me about this error: java.lang.ArrayIndexOutOfBoundsException: 0 >= 0 at java.util.Vector.elementAt(Vector.java:432) at... (2 Replies)
Discussion started by: fredginting
2 Replies

4. Solaris

Tomcat Error-HTTP Status code 500

when I typed path http://localhost:8080/MyFirst/HelloWorld in web-browser ,it came up with error HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception ... (0 Replies)
Discussion started by: srinivas2828
0 Replies

5. Programming

sending http url through http socket programming..

hi am senthil am developing a software to send and receive SMS using HTTP connection first of all am forming a URL and sending that URL to a remote server using my Client Program i send that url through Socket(using Send() Function) if i send more than one URL one by one using the same... (0 Replies)
Discussion started by: senkerth
0 Replies

6. Shell Programming and Scripting

sending http url through http socket programming..

hi am senthil am developing a software to send and receive SMS using HTTP connection first of all am forming a URL and sending that URL to a remote server using my Client Program i send that url through Socket(using Send() Function) if i send more than one URL one by one using the same... (4 Replies)
Discussion started by: senkerth
4 Replies

7. Shell Programming and Scripting

http request

I am running a website but I still have problems with the "service temporarily unavailable error". I want to make a simple check if the website is up and running. Does anybody has an idea how to do it? (the site is password protected, so you have to add a user and pwd before logging in). ... (2 Replies)
Discussion started by: jurgen
2 Replies

8. Shell Programming and Scripting

awk script to find time difference between HTTP PUT and HTTP DELETE requests in access.log

Hi, I'm trying to write a script to determine the time gap between HTTP PUT and HTTP DELETE requests in the HTTP Servers access log. Normally client will do HTTP PUT to push content e.g. file_1.txt and 21 seconds later it will do HTTP DELETE, but sometimes the time varies causing some issues... (3 Replies)
Discussion started by: Juha
3 Replies

9. UNIX for Advanced & Expert Users

Apache - tcpdump get HTTP and HTTPS Headers

Hello I googled for "tcpdump view HOST http headers" -- that fine However can we do same for HTTPS like after the HTTPS gets decrypted by Apache ? I think this is legitimate on the server where the site is hosted since at some point the Apache itself needs to get the HOST patrameter in... (1 Reply)
Discussion started by: coolatt
1 Replies
HTTP::Proxy::HeaderFilter(3pm)				User Contributed Perl Documentation			    HTTP::Proxy::HeaderFilter(3pm)

NAME
HTTP::Proxy::HeaderFilter - A base class for HTTP message header filters SYNOPSIS
package MyFilter; use base qw( HTTP::Proxy::HeaderFilter ); # changes the User-Agent header in all requests # this filter must be pushed on the request stack sub filter { my ( $self, $headers, $message ) = @_; $message->headers->header( User_Agent => 'MyFilter/1.0' ); } 1; DESCRIPTION
The HTTP::Proxy::HeaderFilter class is used to create filters for HTTP request/response headers. Creating a HeaderFilter A HeaderFilter is just a derived class that implements some methods called by the proxy. Of all the methods presented below, only "filter()" must be defined in the derived class. filter() The signature of the filter() method is the following: sub filter { my ( $self, $headers, $message) = @_; ... } where $self is the filter object, $headers is a HTTP::Headers object, and $message is either a HTTP::Request or a HTTP::Response object. The $headers HTTP::Headers object is the one that will be sent to the client (if the filter is on the response stack) or origin server (if the filter is on the request stack). If $headers is modified by the filter, the modified headers will be sent to the client or server. The init() method (if it exists) is called by the new() constructeur to perform all initisalisation tasks. It's called once in the filter lifetime. A HTTP::Proxy::HeaderFilter object is a blessed hash, and the base class reserves only hash keys that start with "_hphf". new() The constructor is defined for all subclasses. Initialisation tasks (if any) for subclasses should be done in the "init()" method (see below). init() This method is called by the "new()" constructeur to perform all initisalisation tasks. It's called once in the filter lifetime. It receives all the parameters passed to "new()". Standard HeaderFilters Standard HTTP::Proxy::HeaderFilter classes are lowercase. The following HeaderFilters are included in the HTTP::Proxy distribution: simple This class lets you create a simple header filter from a code reference. standard This is the filter that provides standard headers handling for HTTP::Proxy. It is loaded automatically by HTTP::Proxy. Please read each filter's documentation for more details about their use. USEFUL METHODS FOR SUBCLASSES
Some methods are available to filters, so that they can eventually use the little knowledge they might have of HTTP::Proxy's internals. They mostly are accessors. proxy() Gets a reference to the HTTP::Proxy objects that owns the filter. This gives access to some of the proxy methods. AUTHOR
Philippe "BooK" Bruhat, <book@cpan.org>. SEE ALSO
HTTP::Proxy, HTTP::Proxy::BodyFilter. COPYRIGHT
Copyright 2003-2005, Philippe Bruhat. LICENSE
This module is free software; you can redistribute it or modify it under the same terms as Perl itself. perl v5.12.4 2011-07-03 HTTP::Proxy::HeaderFilter(3pm)
All times are GMT -4. The time now is 03:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy