Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3871428
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T21:49:23+00:00 2026-05-19T21:49:23+00:00

Selenium (RC) is being used to test an ASP.NET 1.1 site. When we make

  • 0

Selenium (RC) is being used to test an ASP.NET 1.1 site.

When we make a request via Selenium RC (which in turn automates the request via a configured browser – in this case Firefox) the http verb is “HEAD”. We have several form action methods that have separate GET and POST methods decorated with AcceptVerbs(HttpVerbs.Get) or HttpVerbs.Post respectively. These methods are returning a 404 and logging a “a public action method could not be found” error message.

Questions:

  • When writing separate Get/Post action methods what is the best practice for handling the Head verb? Should we always decorate with an AcceptVerbs(HttpVerbs.Get | HttpVerbs.Head)?

  • Why is the HEAD verb being generated when Selenium RC is automating the browser in lieu of an If-Modified-Since header?

  • We’ve also seen log entries from (non-mainstream) crawlers that are using the HEAD verb. We created robots.txt entries to stop these crawlers from indexing the site, but now we’re wondering what the best practice from an SEO perspective is as well. Is it important to respond to HEAD for crawlers? Are there mainstream crawlers that use it? Does it impact SEO rank?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T21:49:23+00:00Added an answer on May 19, 2026 at 9:49 pm
    1. Yes, I think that whenever you are restricting your requests to be GET only, you should always allow HEAD on them as well – in fact, I do think it should be built into the MVC framework (next thing on my todo list: raise the issue in MVC bug tracker that [HttpGet] attribute should somehow support HEAD verb)
    2. I would like to know an answer to this too. In the meantime, there is a suggested workaround – pass ‘true’ as a second param to Selenium’s open().
    3. I don’t think it impacts SERP ranking per se, however I can see how crawlers would not request the full page if HEAD gives a 404. According to the HTTP spec (RFC2616), “The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response”, so, if you are doing things right – it shouldn’t be a problem to allow the method and avoid getting unlisted.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We use Selenium to test the UI layer of our ASP.NET application. Many of
With selenium can one run a test which check all images on a current
We maintain a library used by test scripts which do system level testing. Part
I have a Selenium test case that enters dates into a date selector made
I am writing a Selenium test in PHP to check the performance of a
I have button on the page that being used as a link to another
I am executing a script in Selenium IDE 1.5.0 in which I refresh a
I'm using Selenium to unit test my Perl cgi script and all works fine
I'm working on a project which is using Selenium and I'd like to try
I'm using Selenium RC with chrome-mode for Firefox to automate test cases for a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.