diamond-mechanize 2.1 → 2.2
Sign up to get free protection for your applications and to get access to all the features.
- metadata +222 -167
- data/Rakefile +0 -49
- data/lib/mechanize/content_type_error.rb +0 -13
- data/lib/mechanize/cookie.rb +0 -232
- data/lib/mechanize/cookie_jar.rb +0 -194
- data/lib/mechanize/download.rb +0 -59
- data/lib/mechanize/element_matcher.rb +0 -36
- data/lib/mechanize/file.rb +0 -65
- data/lib/mechanize/file_connection.rb +0 -17
- data/lib/mechanize/file_request.rb +0 -26
- data/lib/mechanize/file_response.rb +0 -74
- data/lib/mechanize/file_saver.rb +0 -39
- data/lib/mechanize/form/button.rb +0 -6
- data/lib/mechanize/form/check_box.rb +0 -12
- data/lib/mechanize/form/field.rb +0 -54
- data/lib/mechanize/form/file_upload.rb +0 -21
- data/lib/mechanize/form/hidden.rb +0 -3
- data/lib/mechanize/form/image_button.rb +0 -19
- data/lib/mechanize/form/keygen.rb +0 -34
- data/lib/mechanize/form/multi_select_list.rb +0 -94
- data/lib/mechanize/form/option.rb +0 -50
- data/lib/mechanize/form/radio_button.rb +0 -55
- data/lib/mechanize/form/reset.rb +0 -3
- data/lib/mechanize/form/select_list.rb +0 -44
- data/lib/mechanize/form/submit.rb +0 -3
- data/lib/mechanize/form/text.rb +0 -3
- data/lib/mechanize/form/textarea.rb +0 -3
- data/lib/mechanize/form.rb +0 -543
- data/lib/mechanize/headers.rb +0 -23
- data/lib/mechanize/history.rb +0 -82
- data/lib/mechanize/http/agent.rb +0 -1004
- data/lib/mechanize/http/auth_challenge.rb +0 -59
- data/lib/mechanize/http/auth_realm.rb +0 -31
- data/lib/mechanize/http/content_disposition_parser.rb +0 -188
- data/lib/mechanize/http/www_authenticate_parser.rb +0 -155
- data/lib/mechanize/http.rb +0 -8
- data/lib/mechanize/monkey_patch.rb +0 -16
- data/lib/mechanize/page/base.rb +0 -7
- data/lib/mechanize/page/frame.rb +0 -27
- data/lib/mechanize/page/image.rb +0 -30
- data/lib/mechanize/page/label.rb +0 -20
- data/lib/mechanize/page/link.rb +0 -98
- data/lib/mechanize/page/meta_refresh.rb +0 -68
- data/lib/mechanize/page.rb +0 -440
- data/lib/mechanize/parser.rb +0 -173
- data/lib/mechanize/pluggable_parsers.rb +0 -144
- data/lib/mechanize/redirect_limit_reached_error.rb +0 -19
- data/lib/mechanize/redirect_not_get_or_head_error.rb +0 -21
- data/lib/mechanize/response_code_error.rb +0 -21
- data/lib/mechanize/response_read_error.rb +0 -27
- data/lib/mechanize/robots_disallowed_error.rb +0 -28
- data/lib/mechanize/test_case.rb +0 -663
- data/lib/mechanize/unauthorized_error.rb +0 -3
- data/lib/mechanize/unsupported_scheme_error.rb +0 -6
- data/lib/mechanize/util.rb +0 -101
- data/lib/mechanize.rb +0 -1079
- data/test/data/htpasswd +0 -1
- data/test/data/server.crt +0 -16
- data/test/data/server.csr +0 -12
- data/test/data/server.key +0 -15
- data/test/data/server.pem +0 -15
- data/test/htdocs/alt_text.html +0 -10
- data/test/htdocs/bad_form_test.html +0 -9
- data/test/htdocs/button.jpg +0 -0
- data/test/htdocs/canonical_uri.html +0 -9
- data/test/htdocs/dir with spaces/foo.html +0 -1
- data/test/htdocs/empty_form.html +0 -6
- data/test/htdocs/file_upload.html +0 -26
- data/test/htdocs/find_link.html +0 -41
- data/test/htdocs/form_multi_select.html +0 -16
- data/test/htdocs/form_multival.html +0 -37
- data/test/htdocs/form_no_action.html +0 -18
- data/test/htdocs/form_no_input_name.html +0 -16
- data/test/htdocs/form_order_test.html +0 -11
- data/test/htdocs/form_select.html +0 -16
- data/test/htdocs/form_set_fields.html +0 -14
- data/test/htdocs/form_test.html +0 -188
- data/test/htdocs/frame_referer_test.html +0 -10
- data/test/htdocs/frame_test.html +0 -30
- data/test/htdocs/google.html +0 -13
- data/test/htdocs/index.html +0 -6
- data/test/htdocs/link with space.html +0 -5
- data/test/htdocs/meta_cookie.html +0 -11
- data/test/htdocs/no_title_test.html +0 -6
- data/test/htdocs/noindex.html +0 -9
- data/test/htdocs/rails_3_encoding_hack_form_test.html +0 -27
- data/test/htdocs/relative/tc_relative_links.html +0 -21
- data/test/htdocs/robots.html +0 -8
- data/test/htdocs/robots.txt +0 -2
- data/test/htdocs/tc_bad_charset.html +0 -9
- data/test/htdocs/tc_bad_links.html +0 -5
- data/test/htdocs/tc_base_link.html +0 -8
- data/test/htdocs/tc_blank_form.html +0 -11
- data/test/htdocs/tc_charset.html +0 -6
- data/test/htdocs/tc_checkboxes.html +0 -19
- data/test/htdocs/tc_encoded_links.html +0 -5
- data/test/htdocs/tc_field_precedence.html +0 -11
- data/test/htdocs/tc_follow_meta.html +0 -8
- data/test/htdocs/tc_form_action.html +0 -48
- data/test/htdocs/tc_links.html +0 -19
- data/test/htdocs/tc_meta_in_body.html +0 -9
- data/test/htdocs/tc_pretty_print.html +0 -17
- data/test/htdocs/tc_referer.html +0 -16
- data/test/htdocs/tc_relative_links.html +0 -19
- data/test/htdocs/tc_textarea.html +0 -23
- data/test/htdocs/test_click.html +0 -11
- data/test/htdocs/unusual______.html +0 -5
- data/test/test_mechanize.rb +0 -1164
- data/test/test_mechanize_cookie.rb +0 -451
- data/test/test_mechanize_cookie_jar.rb +0 -483
- data/test/test_mechanize_download.rb +0 -43
- data/test/test_mechanize_file.rb +0 -61
- data/test/test_mechanize_file_connection.rb +0 -21
- data/test/test_mechanize_file_request.rb +0 -19
- data/test/test_mechanize_file_saver.rb +0 -21
- data/test/test_mechanize_form.rb +0 -875
- data/test/test_mechanize_form_check_box.rb +0 -38
- data/test/test_mechanize_form_encoding.rb +0 -114
- data/test/test_mechanize_form_field.rb +0 -63
- data/test/test_mechanize_form_file_upload.rb +0 -20
- data/test/test_mechanize_form_image_button.rb +0 -12
- data/test/test_mechanize_form_keygen.rb +0 -32
- data/test/test_mechanize_form_multi_select_list.rb +0 -84
- data/test/test_mechanize_form_option.rb +0 -55
- data/test/test_mechanize_form_radio_button.rb +0 -78
- data/test/test_mechanize_form_select_list.rb +0 -76
- data/test/test_mechanize_form_textarea.rb +0 -52
- data/test/test_mechanize_headers.rb +0 -35
- data/test/test_mechanize_history.rb +0 -103
- data/test/test_mechanize_http_agent.rb +0 -1225
- data/test/test_mechanize_http_auth_challenge.rb +0 -39
- data/test/test_mechanize_http_auth_realm.rb +0 -49
- data/test/test_mechanize_http_content_disposition_parser.rb +0 -118
- data/test/test_mechanize_http_www_authenticate_parser.rb +0 -146
- data/test/test_mechanize_link.rb +0 -80
- data/test/test_mechanize_page.rb +0 -118
- data/test/test_mechanize_page_encoding.rb +0 -182
- data/test/test_mechanize_page_frame.rb +0 -16
- data/test/test_mechanize_page_link.rb +0 -390
- data/test/test_mechanize_page_meta_refresh.rb +0 -127
- data/test/test_mechanize_parser.rb +0 -289
- data/test/test_mechanize_pluggable_parser.rb +0 -52
- data/test/test_mechanize_redirect_limit_reached_error.rb +0 -24
- data/test/test_mechanize_redirect_not_get_or_head_error.rb +0 -14
- data/test/test_mechanize_subclass.rb +0 -22
- data/test/test_mechanize_util.rb +0 -103
- data/test/test_multi_select.rb +0 -119
@@ -1,10 +0,0 @@
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
|
2
|
-
"http://www.w3.org/TR/html4/frameset.dtd">
|
3
|
-
<HTML>
|
4
|
-
<HEAD>
|
5
|
-
<TITLE>A simple frameset document</TITLE>
|
6
|
-
</HEAD>
|
7
|
-
<FRAMESET>
|
8
|
-
<FRAME name="frame1" src="http://localhost/referer">
|
9
|
-
</FRAMESET>
|
10
|
-
</HTML>
|
data/test/htdocs/frame_test.html
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
|
2
|
-
"http://www.w3.org/TR/html4/frameset.dtd">
|
3
|
-
<HTML>
|
4
|
-
<HEAD>
|
5
|
-
<TITLE>A simple frameset document</TITLE>
|
6
|
-
</HEAD>
|
7
|
-
<FRAMESET cols="20%, 80%">
|
8
|
-
<FRAMESET rows="100, 200">
|
9
|
-
<FRAME name="frame1" src="/google.html">
|
10
|
-
<FRAME name="frame2" src="/form_test.html">
|
11
|
-
</FRAMESET>
|
12
|
-
<FRAMESET rows="100, 200">
|
13
|
-
<FRAME name="frame3" src="/file_upload.html">
|
14
|
-
<IFRAME src="http://google.com/" name="frame4">
|
15
|
-
[Your user agent does not support frames or is currently configured
|
16
|
-
not to display frames. However, you may visit
|
17
|
-
<A href="foo.html">the related document.</A>]
|
18
|
-
</IFRAME>
|
19
|
-
</FRAMESET>
|
20
|
-
<NOFRAMES>
|
21
|
-
<P>This frameset document contains:
|
22
|
-
<UL>
|
23
|
-
<LI><A href="/google.html">Some neat contents</A>
|
24
|
-
<LI><A href="/form_test.html" class="bar">Form Test</A>
|
25
|
-
<LI><A href="/file_upload.html">Some other neat contents</A>
|
26
|
-
</UL>
|
27
|
-
</NOFRAMES>
|
28
|
-
</FRAMESET>
|
29
|
-
</HTML>
|
30
|
-
|
data/test/htdocs/google.html
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
<html><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><title>Google</title><style><!--
|
2
|
-
body,td,a,p,.h{font-family:arial,sans-serif;}
|
3
|
-
.h{font-size: 20px;}
|
4
|
-
.q{color:#0000cc;}
|
5
|
-
//-->
|
6
|
-
</style>
|
7
|
-
<script>
|
8
|
-
<!--
|
9
|
-
function sf(){document.f.q.focus();}
|
10
|
-
// -->
|
11
|
-
</script>
|
12
|
-
</head><body bgcolor=#ffffff text=#000000 link=#0000cc vlink=#551a8b alink=#ff0000 onLoad=sf() topmargin=3 marginheight=3><center><table border=0 cellspacing=0 cellpadding=0 width=100%><tr><td align=right nowrap><font size=-1><a href="/url?sa=p&pref=ig&pval=2&q=http://www.google.com/ig%3Fhl%3Den">Personalized Home</a> | <a href="https://www.google.com/accounts/Login?continue=http://www.google.com/&hl=en">Sign in</a></font></td></tr><tr height=4><td><img alt="" width=1 height=1></td></tr></table><img src="/intl/en/images/logo.gif" width=276 height=110 alt="Google"><br><br>
|
13
|
-
<form action=/search name=f><table border=0 cellspacing=0 cellpadding=4><tr><td nowrap><font size=-1><b>Web</b> <a id=1a class=q href="/imghp?hl=en&tab=wi&ie=UTF-8">Images</a> <a id=2a class=q href="http://groups.google.com/grphp?hl=en&tab=wg&ie=UTF-8">Groups</a> <a id=4a class=q href="http://news.google.com/nwshp?hl=en&tab=wn&ie=UTF-8">News</a> <a id=5a class=q href="http://froogle.google.com/frghp?hl=en&tab=wf&ie=UTF-8">Froogle</a> <a id=7a class=q href="/lochp?hl=en&tab=wl&ie=UTF-8">Local</a> <b><a href="/intl/en/options/" class=q>more »</a></b></font></td></tr></table><table cellspacing=0 cellpadding=0><tr><td width=25%> </td><td align=center><input type=hidden name=hl value=en><input type=hidden name=ie value="ISO-8859-1"><input maxlength=2048 size=55 name=q value="" title="Google Search"><br><input type=submit value="Google Search" name=btnG><input type=submit value="I'm Feeling Lucky" name=btnI></td><td valign=top nowrap width=25%><font size=-2> <a href=/advanced_search?hl=en>Advanced Search</a><br> <a href=/preferences?hl=en>Preferences</a><br> <a href=/language_tools?hl=en>Language Tools</a></font></td></tr></table></form><br><br><font size=-1><a href="/ads/">Advertising Programs</a> - <a href=/services/>Business Solutions</a> - <a href=/intl/en/about.html>About Google</a></font><p><font size=-2>©2006 Google</font></p></center></body></html>
|
data/test/htdocs/index.html
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<meta http-equiv="Set-Cookie" content="tender=live;expires=Sun, 27-Sep-2037 00:00:00 GMT; path=/">
|
3
|
-
<body>
|
4
|
-
<a href="alt_text.html"><img alt="alt text" src="hello"></a>
|
5
|
-
<a href="no_alt_text.html"><img src="hello"></a>
|
6
|
-
<a href="nil_alt_text.html"><img alt src="hello"></a>
|
7
|
-
<a href="no_image.html">no image</a>
|
8
|
-
<a href="no_text.html"></a>
|
9
|
-
</body>
|
10
|
-
</html>
|
11
|
-
|
data/test/htdocs/noindex.html
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head>
|
3
|
-
<meta name="csrf-param" content="authenticity_token"/>
|
4
|
-
<meta name="csrf-token" content="+6MKmkYpUcOC7ClPngk3FMTDL1Yc0cU1sS9800eeAPA="/>
|
5
|
-
</head>
|
6
|
-
<body>
|
7
|
-
|
8
|
-
<form accept-charset="UTF-8" action="/form_post" class="new_user_session" id="new_user_session" method="post">
|
9
|
-
<div style="margin:0;padding:0;display:inline">
|
10
|
-
<input name="utf8" type="hidden" value="✓" />
|
11
|
-
<input name="authenticity_token" type="hidden" value="+6MKmkYpUcOC7ClPngk3FMTDL1Yc0cU1sS9800eeAPA=" />
|
12
|
-
</div>
|
13
|
-
<div class='field'>
|
14
|
-
<label for="user_session_email">Email</label>
|
15
|
-
<input id="user_session_email" name="user_session[email]" size="30" type="text" />
|
16
|
-
</div>
|
17
|
-
<div class='field'>
|
18
|
-
<label for="user_session_password">Password</label>
|
19
|
-
<input id="user_session_password" name="user_session[password]" size="30" type="password" />
|
20
|
-
</div>
|
21
|
-
<div class='buttons'>
|
22
|
-
<input id="user_session_submit" name="commit" type="submit" value="Login" />
|
23
|
-
</div>
|
24
|
-
</form>
|
25
|
-
|
26
|
-
</body>
|
27
|
-
</html>
|
@@ -1,21 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<body>
|
3
|
-
<a href="../tc_relative_links.html">dot dot slash</a>
|
4
|
-
<a href="../../../../../tc_relative_links.html">too many dots</a>
|
5
|
-
<FRAMESET cols="20%, 80%">
|
6
|
-
<FRAMESET rows="100, 200, 200">
|
7
|
-
<FRAME name="frame1" src="../tc_relative_links.html">
|
8
|
-
<FRAME name="frame2" src="../tc_relative_links.html">
|
9
|
-
</FRAMESET>
|
10
|
-
<FRAMESET rows="100, 200">
|
11
|
-
<FRAME name="frame3" src="/file_upload.html">
|
12
|
-
<IFRAME src="http://google.com/" name="frame4">
|
13
|
-
[Your user agent does not support frames or is currently configured
|
14
|
-
not to display frames. However, you may visit
|
15
|
-
<A href="foo.html">the related document.</A>]
|
16
|
-
<a href="?a=b">just the query string</A>
|
17
|
-
</IFRAME>
|
18
|
-
</FRAMESET>
|
19
|
-
</FRAMESET>
|
20
|
-
</body>
|
21
|
-
</html>
|
data/test/htdocs/robots.html
DELETED
data/test/htdocs/robots.txt
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<body>
|
3
|
-
<form name="test" method="post">
|
4
|
-
<input type="hidden" name="hidden_blank" value=''/>
|
5
|
-
<input type="hidden" name="hidden_noval"/>
|
6
|
-
<input type="text" name="visible_blank" value=''/>
|
7
|
-
<input type="text" name="visible_noval"/>
|
8
|
-
<input type="submit"/>
|
9
|
-
</form>
|
10
|
-
</body>
|
11
|
-
</html>
|
data/test/htdocs/tc_charset.html
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head><title>tc_checkboxbuttons.html</title></head>
|
3
|
-
<body>
|
4
|
-
<form name="form1" method="post" action="/form_post">
|
5
|
-
Gender:<br />
|
6
|
-
M: <input type="checkbox" name="male" /><br />
|
7
|
-
F: <input type="checkbox" name="female" /><br />
|
8
|
-
Your one favorite color:<br />
|
9
|
-
Green: <input type="checkbox" name="green" /><br />
|
10
|
-
Green: <input type="checkbox" name="green" /><br />
|
11
|
-
Red: <input type="checkbox" name="red" /><br />
|
12
|
-
Blue: <input type="checkbox" name="blue" /><br />
|
13
|
-
Yellow: <input type="checkbox" name="yellow" /><br />
|
14
|
-
Brown: <input type="checkbox" name="brown" /><br />
|
15
|
-
Purple: <input type="checkbox" name="purple" /><br />
|
16
|
-
<input type="submit" value="Submit" />
|
17
|
-
</form>
|
18
|
-
</body>
|
19
|
-
</html>
|
@@ -1,11 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head><title>tc_field_precedence.html</title></head>
|
3
|
-
<body>
|
4
|
-
<form name="form1" method="post" action="/form_post">
|
5
|
-
Ticky?
|
6
|
-
<input type="checkbox" id="ticky" name="ticky" value="1" checked="checked"/>
|
7
|
-
<input type="hidden" name="ticky" value="0" />
|
8
|
-
<input type="submit" value="Submit" />
|
9
|
-
</form>
|
10
|
-
</body>
|
11
|
-
</html>
|
@@ -1,48 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head><title>Page Title</title></head>
|
3
|
-
<body>
|
4
|
-
<h1>Post Form 1</h1>
|
5
|
-
<form name="post_form1" method="post" action="/form_post?a=b&b=c">
|
6
|
-
<table>
|
7
|
-
<tr>
|
8
|
-
<td>First Name</td>
|
9
|
-
<td><input type="text" name="first_name" /></td>
|
10
|
-
</tr>
|
11
|
-
</table><br />
|
12
|
-
<input type="submit" value="Submit" />
|
13
|
-
</form>
|
14
|
-
|
15
|
-
<h1>Post Form 2</h1>
|
16
|
-
<form name="post_form2" method="get" action="/form_post?a=b&b=c">
|
17
|
-
<table>
|
18
|
-
<tr>
|
19
|
-
<td>First Name</td>
|
20
|
-
<td><input type="text" name="first_name" /></td>
|
21
|
-
</tr>
|
22
|
-
</table><br />
|
23
|
-
<input type="submit" value="Submit" />
|
24
|
-
</form>
|
25
|
-
|
26
|
-
<h1>Post Form 3</h1>
|
27
|
-
<form name="post_form3" method="post" action="/form_post?a=b&b=c">
|
28
|
-
<table>
|
29
|
-
<tr>
|
30
|
-
<td>First Name</td>
|
31
|
-
<td><input type="text" name="first_name" /></td>
|
32
|
-
</tr>
|
33
|
-
</table><br />
|
34
|
-
<input type="submit" value="Submit" />
|
35
|
-
</form>
|
36
|
-
|
37
|
-
<h1>Post Form 4</h1>
|
38
|
-
<form name="post_form4" method="post" action="/form_post#1">
|
39
|
-
<table>
|
40
|
-
<tr>
|
41
|
-
<td>First Name</td>
|
42
|
-
<td><input type="text" name="first_name" /></td>
|
43
|
-
</tr>
|
44
|
-
</table><br />
|
45
|
-
<input type="submit" value="Submit" />
|
46
|
-
</form>
|
47
|
-
</body>
|
48
|
-
</html>
|
data/test/htdocs/tc_links.html
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<body>
|
3
|
-
<a href="thing.html"><b>Bold Dude</b></a>
|
4
|
-
<a href="thing.html" rel="nofollow">Dude</a>
|
5
|
-
<a href="thing.html" rel="me">Aaron <b>James</b> Patterson</a>
|
6
|
-
<a href="thing.html" id="bold_aaron_link" rel="me nofollow"><b>Aaron</b> Patterson</a>
|
7
|
-
<a href="thing.html" class="thing_link">Thing!</a>
|
8
|
-
<a href="thing.html">Ruby <b>Rocks!</b></a>
|
9
|
-
<!-- Testing a bug with escaped stuff in links:
|
10
|
-
http://rubyforge.org/pipermail/mechanize-users/2006-September/000002.html
|
11
|
-
-->
|
12
|
-
<a href="link%20with%20space.html">encoded space</a>
|
13
|
-
<a href="link with space.html">not encoded space</a>
|
14
|
-
<!-- End escaped bug -->
|
15
|
-
<a href="unusual&&%3F%3F%23%23.html">unusual characters</a>
|
16
|
-
|
17
|
-
<a href="javascript:new_page('1')">javascript link</a>
|
18
|
-
</body>
|
19
|
-
</html>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head><title>tc_pretty_print.html</title></head>
|
3
|
-
<body>
|
4
|
-
<a href="http://google.com/">Google</a><br />
|
5
|
-
<form method="post" action="/form_post" name="form1">
|
6
|
-
<input type="text" name="first_name"/><br />
|
7
|
-
<input type="password" name="password" /><br />
|
8
|
-
<input type="hidden" name="secret" value="hey" />
|
9
|
-
<input type="checkbox" name="checkme" />
|
10
|
-
<input type="radio" name="r" value="one" /><br />
|
11
|
-
<input type="radio" name="r" value="two" /><br />
|
12
|
-
<input type="submit" value="Submit" />
|
13
|
-
</form>
|
14
|
-
<frame src="http://memepool.com/" />
|
15
|
-
<iframe src="http://memepool.com/" />
|
16
|
-
</body>
|
17
|
-
</html>
|
data/test/htdocs/tc_referer.html
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<body>
|
3
|
-
<a href="/referer">Referer Servlet</a>
|
4
|
-
<a href="http://localhost/referer">Referer Servlet forced to http</a>
|
5
|
-
<a href="https://localhost/referer">Referer Servlet forced to https</a>
|
6
|
-
<br />
|
7
|
-
<a href="/referer" rel="noreferrer">Referer Servlet (noreferrer)</a>
|
8
|
-
<a href="http://localhost/referer" rel="noreferrer">Referer Servlet forced to http (noreferrer)</a>
|
9
|
-
<a href="https://localhost/referer" rel="noreferrer">Referer Servlet forced to https (noreferrer)</a>
|
10
|
-
<br />
|
11
|
-
<form method="post" action="/referer">
|
12
|
-
<input type="text" name="first" /></br>
|
13
|
-
<input type="submit" value="Submit" />
|
14
|
-
</form>
|
15
|
-
</body>
|
16
|
-
</html>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<body>
|
3
|
-
<a href="relative/tc_relative_links.html">forward</a>
|
4
|
-
<FRAMESET cols="20%, 80%">
|
5
|
-
<FRAMESET rows="100, 200, 200">
|
6
|
-
<FRAME name="frame1" src="relative/tc_relative_links.html">
|
7
|
-
<FRAME name="frame2" src="relative/tc_relative_links.html">
|
8
|
-
</FRAMESET>
|
9
|
-
<FRAMESET rows="100, 200">
|
10
|
-
<FRAME name="frame3" src="/file_upload.html">
|
11
|
-
<IFRAME src="http://google.com/" name="frame4">
|
12
|
-
[Your user agent does not support frames or is currently configured
|
13
|
-
not to display frames. However, you may visit
|
14
|
-
<A href="foo.html">the related document.</A>]
|
15
|
-
</IFRAME>
|
16
|
-
</FRAMESET>
|
17
|
-
</FRAMESET>
|
18
|
-
</body>
|
19
|
-
</html>
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head><title>tc_textarea.html</title></head>
|
3
|
-
<body>
|
4
|
-
<form name="form1" method="post" action="/form_post">
|
5
|
-
<textarea name="text1"></textarea>
|
6
|
-
<br />
|
7
|
-
<input type="submit" value="Submit" />
|
8
|
-
</form>
|
9
|
-
<br />
|
10
|
-
<form name="form2" method="post" action="/form_post">
|
11
|
-
<textarea name="text1">sample text</textarea>
|
12
|
-
<br />
|
13
|
-
<input type="submit" value="Submit" />
|
14
|
-
</form>
|
15
|
-
<br />
|
16
|
-
<form name="form3" method="post" action="/form_post">
|
17
|
-
<textarea name="text1"></textarea>
|
18
|
-
<textarea name="text1">sample text</textarea>
|
19
|
-
<br />
|
20
|
-
<input type="submit" value="Submit" />
|
21
|
-
</form>
|
22
|
-
</body>
|
23
|
-
</html>
|
data/test/htdocs/test_click.html
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head><title>Page Title</title></head>
|
3
|
-
<body>
|
4
|
-
<a href="/frame_test.html">This link is not called "A Link"</a>
|
5
|
-
<form method="get" action="/frame_test.html">
|
6
|
-
<input type="text" name="words" value="nil">
|
7
|
-
<input type="submit" value="A Button">
|
8
|
-
</form>
|
9
|
-
<a href="/index.html">A Link</a>
|
10
|
-
</body>
|
11
|
-
</html>
|