Validate a URL (tick_24Pro, tick_24Std, tick_24Lite)

You can check a URL by choosing File->Open from the Web.

A progress dialog will appear with commands sent to the server, headers received, cookie information, and more. This may be useful for debugging (for example, for debugging a redirect problem).

When the document has been successfully loaded into the editor, it can then be validated as if it were a local document or file.

Note that editing and saving the documents that have been opened with a URL will not change the document sent from the server. You will have to change the original document that is normally located on the web server. Often times this is done by uploading the new document to the web server by using an FTP program (a file transfer program).

 

Open From the Web Dialog

Open From the Web Progress Dialog

Text Options

Agent - The 'Agent' sets the 'User-Agent' header that is used to tell the web server what user agent or web browser (and possibly other information like operating system) is requesting the document. It can be used to "trick" the server into thinking a certain agent and OS is being used. Some web servers may return different pages depending on the agent. If this is the case, then specify what agent to use depending on what is being tested. If the web server doesn't care which agent is used (this is common), then specifying a particular agent should not matter.

Helpful external link: Understanding User-Agent Strings

hmtoggle_plus1Example user agents

 

POST Data - If you want to use a POST request instead of a GET request, then enter the POST data here (otherwise use '(none)' for no POST data). Enter name=value strings separated by '&' characters and use proper URL encoding. You can also press the edit button to enter one name=value field per line in an editor. When using the editor, do not use URL encoded values because they will be automatically URL encoded. Example: 'username=myname&password=mypassword'. Note: Data is posted using 'application/x-www-form-urlencoded'. (New v15.03)

 

Lang - This option is used to set the 'Accept-Language' header that is used to tell the web server what language the client prefers/accepts. Some web servers may be configured to return different pages depending on 'Accept-Language'. If this is the case, then specify what 'Accept-Language' value to use depending on what is being tested. If the web server doesn't care which language is accepted/requested (this is common), then the 'Accept-Language' value should not matter. (New v9.02)

hmtoggle_plus1Example 'Accept-Language' header values

 

Username & Password Options - If authentication is required then set the username and password to use when requesting the URL. Both HTTP and NTLM authentication are supported. The 'Use username and password' checkbox must be checked for these fields to be enabled.

Checkbox Options

Use username and password - Check this box to enable the username and password fields for HTTP or NTLM authentication.

HTTP/1.1 request - Check this box to make an HTTP/1.1 request, otherwise HTTP/1.0 is used. The default is HTTP/1.1. (New v12.0025)

Open From Web Options Menu

Close Progress Dialog When Done - Check this option if you want the progress dialog to automatically close when the download is complete (unless there is an error or problem). The default is not checked. (New v9.00)

Keep Progress Dialog on Top - Check this option if you want the progress dialog to stay on top of the main editor window. The default is checked. (New v9.00)

(tick_16Pro, tick_16Std, cross_16Lite) Another way to check URLs and dynamic sites is to use the integrated web browser available in the standard and higher editions. While browsing with the integrated web browser, the source for the document being displayed is shown in an editor tab and can be easily validated. As you navigate through the web, you can also have the source automatically validated after each page is loaded. To do this, make sure that this feature is checked in the Editor Options. Using the integrated editor is a great way to check a website with dynamic pages such as those made by ASP, CFML, or PHP scripts.