5

Is there any service or library that can validate an http1.1 server?

I implemented a simple http server, and over a year or so I've been extending it as I need to such that I've got a pretty complete and functional http1.1 web/app server.

As a practical matter it works really well - e.g. it seems to serve things robustly to all the browsers I've tried, cUrl etc, but there are a million corner cases when you read the specs for http1.1. I'm sure I have all kinds of odd gremlins in there.

Is there a service that can make http requests to a server to validate the protocol, or a library that does this?

4

2 回答 2

1

Jigsaw 是 W3C 的 HTTP 1.1 参考实现http://www.w3.org/Jigsaw/

您可能可以使用它来比较您的服务器和 Jigsaw 之间的响应。如果它没有自己的黑盒测试套件,您可能必须通过 RFC 并创建自己的套件。

这里有更多资源:http: //www.w3.org/Protocols/HTTP/Forum/#Sample

这包括对至少一个 HTTP 1.1 客户端库的引用。您可以使用它或任何其他具有良好合规性的方法来构建您自己的黑盒测试。

于 2013-05-24T14:54:23.493 回答
0

我还没有找到任何全面的东西,但是REDbot对于测试 HTTP 缓存的一些细微之处很有用。

于 2013-09-23T02:55:42.477 回答