          headers: [{"accept", "text/plain"}],
          method: :GET,
          mount: [],
-         path: ["path"],
-         query: "qs",
-         raw_path: "/path",
+         path: [],
+         query: nil,
+         raw_path: "/",
          scheme: :http
        }, :close, {:complete, ""}, ""}}
 
-       iex> "GET /path?qs HTTP/1.1\r\nhost: example.com\r\nconnection: keep-alive\r\naccept: text/plain\r\n\r\n"
+       iex> "GET / HTTP/1.1\r\nhost: example.com\r\nconnection: keep-alive\r\naccept: text/plain\r\n\r\n"
        ...> |> Raxx.HTTP1.parse_request(scheme: :http)
        {:ok,
         {%Raxx.Request{

          {:more, :undefined} ->
            {:more, buffer}
        end

      {:ok, {:http_error, invalid_line}, _rest} ->
        {:error, {:invalid_line, invalid_line}}

    {payload_headers, {:complete, iodata}}
  end

  defp fetch_content_length(headers) do
    case :proplists.get_all_values("content-length", headers) do
      [] ->
        {:ok, nil}

      [binary] ->
        case Integer.parse(binary) do
          {content_length, ""} ->
            {:ok, content_length}

          _ ->
            {:error, :invalid_content_length_header}
        end

      _ ->
        {:error, :multiple_content_length_headers}
    end
  end
end
