SAP Knowledge Base Article - Preview

2524052 - How to disable HTTP HEAD requests

Symptom

The ABAP server sends the client a CSRF token needed to validate subsequent OData requests. HEAD requests are used to get the CSRF token and SAPUI5 OData models cannot function without a valid CSRF token. If the HEAD requests are blocked by a firewall, you may get an error in your browser console stating that the call to perform HEAD request has failed and subsequent OData calls may fail. For this reason, it may be desirable to change the behavior of UI5 to prevent the HEAD requests.


Read more...

Environment

  • SAPUI5
  • SAP Web IDE

Product

SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAPUI5 1.0

Keywords

method, firewall, Odata, network, blocked , KBA , disable , waf , web application firewall , sap.ui.model.odata.v2.odatamodel , CA-UI5-COR , SAP UI5 Core and Runtime , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.