You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Deepa Jayaveer <de...@tcs.com> on 2015/06/11 11:07:53 UTC

http 501 error

Hi All,

When I try to crawl the website ,am getting the  Http response code as 501 
. while debugging , found
out that the error occurred when the following code executed in 
HttpResponse.java

GetMethod get = new GetMethod(url.toString());
int code = httpClient.executeMethod(get);

code returns 501 . Do i need to change anything on Httpclient program
can you please help to fix this

Thanks
Deepa
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



Re: http 501 error

Posted by Gora Mohanty <go...@mimirtech.com>.
On 11 June 2015 at 15:30, Deepa Jayaveer <de...@tcs.com> wrote:
>
> Thanks a lot for your response.
> will Nutch can handle POST request?

Don't think so. How would it know what POST data is expected by the page?

Regards,
Gora

Re: http 501 error

Posted by Deepa Jayaveer <de...@tcs.com>.
Thanks a lot for your response.
will Nutch can handle POST request?

Thanks
Deepa







From:   Gora Mohanty <go...@mimirtech.com>
To:     user@nutch.apache.org
Date:   11-06-2015 15:23
Subject:        Re: http 501 error



Hi,

A HTTP 501 error is a method not implemented error, as you could have
searched and found out. What that means is that the server you are trying
to crawl does not implement GET for that URL.

Regards,
Gora


On 11 June 2015 at 14:37, Deepa Jayaveer <de...@tcs.com> wrote:

> Hi All,
>
> When I try to crawl the website ,am getting the  Http response code as 
501
> . while debugging , found
> out that the error occurred when the following code executed in
> HttpResponse.java
>
> GetMethod get = new GetMethod(url.toString());
> int code = httpClient.executeMethod(get);
>
> code returns 501 . Do i need to change anything on Httpclient program
> can you please help to fix this
>
> Thanks
> Deepa
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>


Re: http 501 error

Posted by Gora Mohanty <go...@mimirtech.com>.
Hi,

A HTTP 501 error is a method not implemented error, as you could have
searched and found out. What that means is that the server you are trying
to crawl does not implement GET for that URL.

Regards,
Gora


On 11 June 2015 at 14:37, Deepa Jayaveer <de...@tcs.com> wrote:

> Hi All,
>
> When I try to crawl the website ,am getting the  Http response code as 501
> . while debugging , found
> out that the error occurred when the following code executed in
> HttpResponse.java
>
> GetMethod get = new GetMethod(url.toString());
> int code = httpClient.executeMethod(get);
>
> code returns 501 . Do i need to change anything on Httpclient program
> can you please help to fix this
>
> Thanks
> Deepa
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>