Fix: merge conflict
[myslice.git] / to-be-integrated / third-party / codemirror-3.15 / mode / http / index.html
1 <!doctype html>
2 <html>
3   <head>
4     <meta charset="utf-8">
5     <title>CodeMirror: HTTP mode</title>
6     <link rel="stylesheet" href="../../lib/codemirror.css">
7     <script src="../../lib/codemirror.js"></script>
8     <script src="http.js"></script>
9     <link rel="stylesheet" href="../../doc/docs.css">
10     <style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
11   </head>
12   <body>
13     <h1>CodeMirror: HTTP mode</h1>
14
15 <div><textarea id="code" name="code">
16 POST /somewhere HTTP/1.1
17 Host: example.com
18 If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT
19 Content-Type: application/x-www-form-urlencoded;
20         charset=utf-8
21 User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Ubuntu/12.04 Chromium/20.0.1132.47 Chrome/20.0.1132.47 Safari/536.11
22
23 This is the request body!
24 </textarea></div>
25
26     <script>
27       var editor = CodeMirror.fromTextArea(document.getElementById("code"), {});
28     </script>
29
30     <p><strong>MIME types defined:</strong> <code>message/http</code>.</p>
31   </body>
32 </html>