SCRIPT: wpiformat

This commit is contained in:
PJ Reiniger
2025-11-07 20:01:58 -05:00
committed by Peter Johnson
parent ae6bdc9d25
commit 2109161534
749 changed files with 5504 additions and 3936 deletions

View File

@@ -26,7 +26,7 @@ class MyHttpServerConnection : public wpi::net::HttpServerConnection {
void MyHttpServerConnection::ProcessRequest() {
wpi::util::print(stderr, "HTTP request: '{}'\n", m_request.GetUrl());
wpi::net::UrlParser url{m_request.GetUrl(),
m_request.GetMethod() == wpi::net::HTTP_CONNECT};
m_request.GetMethod() == wpi::net::HTTP_CONNECT};
if (!url.IsValid()) {
// failed to parse URL
SendError(400);