mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-05-07 09:57:16 +02:00
Update to webpack v5 (#1848)
Update webpack in the following components to version 5: ui-styles (StyleGuide) ui-components (Storybook) ui-scripts (gradle run/build) This change will also fix a circular dependency between ui-api and ui-components. Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
package sonia.scm;
|
||||
|
||||
import com.google.common.annotations.VisibleForTesting;
|
||||
@@ -98,7 +98,8 @@ public final class ProxyPushStateDispatcher implements PushStateDispatcher {
|
||||
response.setStatus(responseCode);
|
||||
|
||||
copyResponseHeaders(response, connection);
|
||||
if (connection.getContentLength() > 0) {
|
||||
int contentLength = connection.getContentLength();
|
||||
if (contentLength > 0 || contentLength == -1) {
|
||||
copyResponseBody(response, connection);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user