Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

4.0.7

  • Changes to the HTTP_Services module:
    • Update the SetResponseHeaderField service so the Append flag creates multiple Set-Cookie headers rather than folding them.
    • Add SetCookie service to make it easier to build a Set-Cookie response header.
  • Changes to the HTTPClient_Services module:
    • Fix a bug in the SendHTTPRequest service so that request headers are properly parsed. All colons were erroneously being converted to @VM instead of the first colon (which separated the header name from the header value).
    • Update the SetResponseHeaderField service to better support Set-Cookie headers.Allow multiple cookie names to be stored but only store the value of the last cookie name if it is duplicated.

    • Update the GetResponseHeaderField by adding a Delimiter argument so the caller can specify an alternative delimiter for the values being returned.

    • Add GetCookies service to make it easier to view all cookies returned in the response.

    • Add GetCookie service to make it easier to see the entire cookie string of a specified cookie.

    • Update the GetCookie service to include an IgnoreAttributes argument. If this is True$, then only the cookie name and value will be returned.

4.0.6

  • Changes to various service modules and commuters so calls to Memory_Services use a private cache name. The primary reason is to avoid conflicts with caches used by the full SRP FrameWorks product:
  • Changes to the NDW_HTTP_Logs_Events commuter:
    • Replace the Utility("RUNWIN") service with ShellExecute in the OLE_RPT_LOGTABLE.OnItemHyperlink event handler since not all systems work properly with the RUNWIN service.
  • Changes to the HTTP_Resource_Services module:
    • Update the AddEmbeddedResources service so it can be called more than once for the same embedded resource name. New resources will be added rather than replace what is already present.
    • Update the AddLinkRelation and AddLinkRelations services to support IsTemplate (IsTemplates) Boolean argument. This is to add support for URI Templates:
      https://tools.ietf.org/html/rfc6570
      https://tools.ietf.org/html/draft-kelly-json-hal-08#section-5.2
    • Add GetURLTemplate service.
    • Update the AddLinkRelation service to call the GetURLTemplate service to create a URL Template out of an indicated expanded URL.
  • Changes to the HTTP_Services module:
    • Update the CreateLogFile service to fix a VNAV bug when GetStatus logs are created. Clean up the log row and the log body.
    • Update the CreateLogFile service by replacing Utility_DotNet('TIMEZONE') with the SRP_DateTime service (SRP Utilities 2.1) to avoid localization problems and potential 502 Bad Gateway errors.
    • Update the RunWebAPI service to support the HEAD method if the GET method is also supported.
  • Changes to the HTTP_MCP controller:
    • Update code that calls the CreateLogFile service for Get_Status conditions so that the status detail is better formatted. Also, clear the error condition to prevent the OECGI from making a ProcErr call.
  • Changes to the NDW_HTTP_FRAMEWORK_SETUP form:
    • Added OLE_PUB_CONTRACT control to the Resource Manager page.
  • New image: SRPHTTPTREETOPLEVELRESOURCES (BMPS\SRPHTTPTreeTopLevelResources.png)
  • Changes to the NDW_HTTP_Framework_Setup_Events commuter:
    • Update the UpdateSetupInfo internal method to get the Item key of the OLE_TRE_RESOURCES control instead of hard-coding this to APIROOT. This allows the UpdateURLPath internal method to set the URL correctly.
    • Update the WINDOW.CREATE event handler and the SetupOLEControls internal method so the OLE_TRE_RESOURCES control no longer defaults all items to be expanded but the APIROOT will be expanded upon launch. This is to help make it easier to see long lists of resources.
    • Add OLE_PUB_CONTRACT.OnClick handler to display only top-level resources.
    • Enable drag-and-drop with the OLE_TRE_RESOURCES control and add the OLE_TRE_RESOURCES.OnDrop event so users can re-sort top-level resource items.
    • Modify the OLE_TRE_RESOURCE_METHODS control to display "GET / HEAD" rather than "GET".
    • Modify the OLE_TRE_RESOURCES.OnSelChange event handler to support the change to "GET / HEAD" in the OLE_TRE_RESOURCE_METHODS control.
    • Modify the OLE_TRE_RESOURCE_METHODS.OnItemCheck event handler to support the change to "GET / HEAD" in the OLE_TRE_RESOURCE_METHODS control.
    • Update the UpdateWebAPIs service to add a HEAD API if there is a GET API.
  • Changes to the Ping_API module:
    • Update the ping.GET API by replacing Utility_DotNet('TIMEZONE') with the SRP_DateTime service (SRP Utilities 2.1) to avoid localization problems and potential 502 Bad Gateway errors.
  • Changes to the WebAccounts_Services module:
    • Update the ConvertJSONWebAccountsToMV service by replacing Utility_DotNet('TIMEZONE') with the SRP_DateTime service (SRP Utilities 2.1) to avoid localization problems and potential 502 Bad Gateway errors.
  • Changes to the Web_Accounts_Actions module:
    • Update the CURRENT_PASSWORD_CREATED and CURRENT_PASSWORD_EXPIRES calculated column logic by replacing Utility_DotNet('TIMEZONE') with the SRP_DateTime service (SRP Utilities 2.1) to avoid localization problems and potential 502 Bad Gateway errors.
  • Changes to the NDW_HTTP_FRAMEWORK_SETUP form:
    • Fixed the OLE_PUB_CONTRACT control by removing the Bottom Anchor setting.
  • Changes to the HTTP_Resource_Manager_Services module:
    • Update the SetResourceProperty and GetResourceSignature services to support the HEAD method.
  • Update the various APIs to include matching HEAD APIs for all GET APIs:
  • Changes to the APIRoot_API module:
    • Update the APIROOT.GET service so link relations are templated whenever possible.

...