-
Notifications
You must be signed in to change notification settings - Fork 1
/
javadoc.scijava.org.t
47 lines (31 loc) · 1.48 KB
/
javadoc.scijava.org.t
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
NB: Additional tests for javadoc.scijava.org behavior are
in the repository https://github.com/scijava/javadoc-wrangler.
Check IP address:
$ host javadoc.scijava.org
javadoc.scijava.org has address 144.92.48.197
Check HTTP-to-HTTPS redirect:
$ curl -Is http://javadoc.scijava.org/.hello | grep '^\(HTTP\|Location\)'
HTTP/1.1 301 Moved Permanently
Location: https://javadoc.scijava.org/.hello
Check hello access:
$ curl -s https://javadoc.scijava.org/.hello
javadoc.scijava.org on javanese
Check access to proxied content:
$ curl -s https://javadoc.scijava.org/ | grep '<title>'
<title>SciJava Javadoc</title>
$ curl -s https://javadoc.scijava.org/Java8/ | grep '<title>'
<title>Java Platform SE 8 </title>
$ curl -s https://javadoc.scijava.org/Java9/ | grep '<title>'
<title>Java SE 9 & JDK 9 </title>
$ curl -s https://javadoc.scijava.org/Java10/ | grep '<title>'
<title>Java SE 10 & JDK 10 </title>
$ curl -s https://javadoc.scijava.org/Java11/ | grep '<title>'
<title>Overview (Java SE 11 & JDK 11 )</title>
$ curl -s https://javadoc.scijava.org/Java12/ | grep '<title>'
<title>Overview (Java SE 12 & JDK 12 )</title>
$ curl -s https://javadoc.scijava.org/Java13/ | grep '<title>'
<title>Overview (Java SE 13 & JDK 13 )</title>
$ curl -s https://javadoc.scijava.org/Java14/ | grep '<title>'
<title>Overview (Java SE 14 & JDK 14)</title>
$ curl -s https://javadoc.scijava.org/JavaFX8/ | grep '<title>'
<title>JavaFX 8</title>