We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0866e5 commit a6b94deCopy full SHA for a6b94de
test/test.js
@@ -78,6 +78,12 @@ describe('serveStatic()', function(){
78
.expect(200, '', done);
79
});
80
81
+ it('should skip POST requests', function(done){
82
+ request(server)
83
+ .post('/todo.txt')
84
+ .expect(404, 'sorry!', done);
85
+ });
86
+
87
it('should support conditional requests', function(done){
88
request(server)
89
.get('/todo.txt')
0 commit comments