midori_http_parser 0.6.1.3 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.gitmodules +0 -3
- data/.travis.yml +12 -17
- data/Gemfile +5 -0
- data/{LICENSE-MIT → LICENSE} +5 -2
- data/midori_http_parser.gemspec +3 -9
- data/spec/spec_helper.rb +8 -1
- data/tasks/compile.rake +7 -13
- metadata +5 -74
- data/ext/ruby_http_parser/RubyHttpParserService.java +0 -18
- data/ext/ruby_http_parser/org/ruby_http_parser/RubyHttpParser.java +0 -495
- data/ext/ruby_http_parser/vendor/http-parser-java/AUTHORS +0 -32
- data/ext/ruby_http_parser/vendor/http-parser-java/LICENSE-MIT +0 -48
- data/ext/ruby_http_parser/vendor/http-parser-java/README.md +0 -183
- data/ext/ruby_http_parser/vendor/http-parser-java/TODO +0 -28
- data/ext/ruby_http_parser/vendor/http-parser-java/build.xml +0 -74
- data/ext/ruby_http_parser/vendor/http-parser-java/http_parser.c +0 -2175
- data/ext/ruby_http_parser/vendor/http-parser-java/http_parser.gyp +0 -79
- data/ext/ruby_http_parser/vendor/http-parser-java/http_parser.h +0 -304
- data/ext/ruby_http_parser/vendor/http-parser-java/src/Http-parser.java.iml +0 -22
- data/ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/FieldData.java +0 -41
- data/ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/HTTPCallback.java +0 -8
- data/ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/HTTPDataCallback.java +0 -34
- data/ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/HTTPErrorCallback.java +0 -12
- data/ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/HTTPException.java +0 -9
- data/ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/HTTPMethod.java +0 -113
- data/ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/HTTPParser.java +0 -36
- data/ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/HTTPParserUrl.java +0 -76
- data/ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/ParserSettings.java +0 -256
- data/ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/ParserType.java +0 -13
- data/ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/Util.java +0 -111
- data/ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/lolevel/HTTPCallback.java +0 -5
- data/ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/lolevel/HTTPDataCallback.java +0 -25
- data/ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/lolevel/HTTPErrorCallback.java +0 -7
- data/ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/lolevel/HTTPParser.java +0 -2171
- data/ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/lolevel/ParserSettings.java +0 -83
- data/ext/ruby_http_parser/vendor/http-parser-java/src/test/http_parser/lolevel/Message.java +0 -374
- data/ext/ruby_http_parser/vendor/http-parser-java/src/test/http_parser/lolevel/ParseUrl.java +0 -51
- data/ext/ruby_http_parser/vendor/http-parser-java/src/test/http_parser/lolevel/Requests.java +0 -69
- data/ext/ruby_http_parser/vendor/http-parser-java/src/test/http_parser/lolevel/Responses.java +0 -52
- data/ext/ruby_http_parser/vendor/http-parser-java/src/test/http_parser/lolevel/Test.java +0 -16
- data/ext/ruby_http_parser/vendor/http-parser-java/src/test/http_parser/lolevel/TestHeaderOverflowError.java +0 -48
- data/ext/ruby_http_parser/vendor/http-parser-java/src/test/http_parser/lolevel/TestLoaderNG.java +0 -212
- data/ext/ruby_http_parser/vendor/http-parser-java/src/test/http_parser/lolevel/TestNoOverflowLongBody.java +0 -62
- data/ext/ruby_http_parser/vendor/http-parser-java/src/test/http_parser/lolevel/UnitTest.java +0 -117
- data/ext/ruby_http_parser/vendor/http-parser-java/src/test/http_parser/lolevel/Upgrade.java +0 -27
- data/ext/ruby_http_parser/vendor/http-parser-java/src/test/http_parser/lolevel/Url.java +0 -127
- data/ext/ruby_http_parser/vendor/http-parser-java/src/test/http_parser/lolevel/Util.java +0 -236
- data/ext/ruby_http_parser/vendor/http-parser-java/src/test/http_parser/lolevel/WrongContentLength.java +0 -59
- data/ext/ruby_http_parser/vendor/http-parser-java/test.c +0 -3425
- data/ext/ruby_http_parser/vendor/http-parser-java/tests.dumped +0 -845
- data/ext/ruby_http_parser/vendor/http-parser-java/tests.utf8 +0 -17
- data/ext/ruby_http_parser/vendor/http-parser-java/tools/byte_constants.rb +0 -6
- data/ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb +0 -13
- data/ext/ruby_http_parser/vendor/http-parser-java/tools/lowcase.rb +0 -15
- data/ext/ruby_http_parser/vendor/http-parser-java/tools/parse_tests.rb +0 -33
- data/ext/ruby_http_parser/vendor/http-parser/test_fast +0 -0
- data/ext/ruby_http_parser/vendor/http-parser/test_g +0 -0
@@ -1,17 +0,0 @@
|
|
1
|
-
name :utf-8 path request
|
2
|
-
raw :"GET /δ¶/δt/pope?q=1#narf HTTP/1.1\r\nHost: github.com\r\n\r\n"
|
3
|
-
type :HTTP_REQUEST
|
4
|
-
method: HTTP_GET
|
5
|
-
status_code :0
|
6
|
-
request_path:/δ¶/δt/pope
|
7
|
-
request_url :/δ¶/δt/pope?q=1#narf
|
8
|
-
fragment :narf
|
9
|
-
query_string:q=1
|
10
|
-
body :""
|
11
|
-
body_size :0
|
12
|
-
header_0 :{ "Host": "github.com"}
|
13
|
-
should_keep_alive :1
|
14
|
-
upgrade :0
|
15
|
-
http_major :1
|
16
|
-
http_minor :1
|
17
|
-
|
@@ -1,33 +0,0 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
# name : 200 trailing space on chunked body
|
6
|
-
# raw : "HTTP/1.1 200 OK\r\nContent-Type: text/plain\r\nTransfer-Encoding: chunked\r\n\r\n25 \r\nThis is the data in the first chunk\r\n\r\n1C\r\nand this is the second one\r\n\r\n0 \r\n\r\n"
|
7
|
-
# type : HTTP_RESPONSE
|
8
|
-
# method: HTTP_DELETE
|
9
|
-
# status code :200
|
10
|
-
# request_path:
|
11
|
-
# request_url :
|
12
|
-
# fragment :
|
13
|
-
# query_string:
|
14
|
-
# body :"This is the data in the first chunk\r\nand this is the second one\r\n"
|
15
|
-
# body_size :65
|
16
|
-
# header_0 :{ "Content-Type": "text/plain"}
|
17
|
-
# header_1 :{ "Transfer-Encoding": "chunked"}
|
18
|
-
# should_keep_alive :1
|
19
|
-
# upgrade :0
|
20
|
-
# http_major :1
|
21
|
-
# http_minor :1
|
22
|
-
|
23
|
-
|
24
|
-
class ParserTest
|
25
|
-
attr_accessor :name
|
26
|
-
attr_accessor :raw
|
27
|
-
attr_accessor :type
|
28
|
-
attr_accessor :method
|
29
|
-
attr_accessor :status_code
|
30
|
-
attr_accessor :request_path
|
31
|
-
attr_accessor :method
|
32
|
-
end
|
33
|
-
|
Binary file
|
Binary file
|