Skip to content

Conversation

c960657
Copy link
Contributor

@c960657 c960657 commented Sep 6, 2023

If you request an unsupported URL from DummyServer, you get a 500 Internal Server Error instead of a 404 Not Found.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML>
  <HEAD><TITLE>Internal Server Error</TITLE></HEAD>
  <BODY>
    <H1>Internal Server Error</H1>
    wrong number of arguments (given 0, expected 2)
    <HR>
    <ADDRESS>
     WEBrick/1.8.1 (Ruby/3.2.2/2023-03-30) at
     127.0.0.1:63416
    </ADDRESS>
  </BODY>
</HTML>

@c960657 c960657 changed the title DummyServer#not_found requires two arguments DummyServer::Servlet#not_found requires two arguments Sep 6, 2023
@tarcieri tarcieri merged commit 4060ccd into httprb:main Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants