Apple store applications are not working

Solutions ID:    KB4284
Version:    1.0
Status:    Published
Published date:    02/07/2011

Problem Description

ITunes application on the Apple phones uses different headers than the standard HTTP headers to represent the expired objects time.
These headers are not recognized by the proxy since they are not standard HTTP, and hence the proxy may server expired objects that can lead to terminating the application.
Please see both the request and respond below ( the application is using  x-apple-lok-expire-date header


REQUEST from the client



Cookie: (cookie information removed)

X-Apple-Partner: origin.0

X-Apple-Connection-Type: WiFi

X-Dsid: 1329882218

User-Agent: iTunes-iPhone/4.1 (4; 16GB)

Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5


X-Apple-Store-Front: 143441-1,2

X-Apple-Client-Application: Software

Accept-Language: en-us

Accept-Encoding: gzip, deflate

Connection: keep-alive

Proxy-Connection: keep-alive


Response from the proxy

HTTP/1.1 200 Apple WebObjects

last-modified: Mon, 06 Dec 2010 06:40:30 GMT

x-apple-lok-response-date: Sun Dec 05 22:40:52 PST 2010

x-apple-lok-current-storefront: 143441-1,2

x-apple-orig-url-path: /WebObjects/MZStore.woa/wa/viewSoftware?cc=us&id=12345678&mt=8&alreadyRedirected=1

x-apple-application-site: CUP

edge-control: cache-maxage=60s

content-type: text/xml

x-apple-lok-expire-date: Sun Dec 05 22:44:30 PST 2010

x-apple-lok-stor: memcached

cache-control: no-transform

x-apple-max-age: 3600

x-apple-woa-inbound-url: /WebObjects/MZStore.woa/wa/viewSoftware?cc=us&id=11111111111&mt=8&alreadyRedirected=1

x-apple-application-instance: 348

x-apple-lok-path: v0_1:MZStore/viewSoftware&alreadyRedirected=1&cc=us&id=1111111111&mt=8-OS3143441-1,2,pc-2-l

x-apple-aka-ttl: Generated Sun Dec 05 22:40:52 PST 2010, Expires Sun Dec 05 22:41:52 PST 2010, TTL 60s

x-apple-lok-ttl: Generated Sun Dec 05 22:40:30 PST 2010, Expires Sun Dec 05 22:44:30 PST 2010, TTL 240s

x-webobjects-loadaverage: 0

Date: Mon, 06 Dec 2010 06:40:52 GMT

content-length: 1735

Connection: Keep-Alive

Content-Encoding: gzip

Age: 48


Apply the policy below to your local policy file to bypass cache for the traffic coming from and any request using it as referer
            request.header.Referer="" bypass_cache(yes)
            url.domain="" bypass_cache(yes)

Rate this Page

Please take a moment to complete this form to help us better serve you.

Did this document help answer your question?
If you are finished providing feedback, please click the RATE CONTENT button. Otherwise, please add more detail in the following text box and then click RATE CONTENT.

Your response will be used to improve our document content.

Ask a Question