WikiWatershed / mmw-geoprocessing

A Spark Job Server job for Model My Watershed geoprocessing.
Apache License 2.0
6 stars 6 forks source link

Fix Max Content Length Configuration #115

Closed rajadain closed 1 month ago

rajadain commented 1 month ago

Overview

This was changed in AkkaHttp 10.5. Without this, requests for HUC-8s were failing.

Connects https://github.com/WikiWatershed/model-my-watershed/issues/3614

Demo

xh --print Hh :8090/multi < examples/MultiOperationRequestHiResStreams.json
POST /multi HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 11975654
Content-Type: application/json
Host: localhost:8090
User-Agent: xh/0.22.0

HTTP/1.1 200 OK
Content-Length: 615869
Content-Type: application/json
Date: Mon, 06 May 2024 15:07:52 GMT
Server: akka-http/10.5.3