MugunthKumar/MKNetworkKit — Issue #16: Possible reachability corner case...
Author: rlb3
Created: 2011-12-24 22:49:33+00:00
State: open

When accessing a url that is password protected i was successfully able to reach the site but then received a reachabilityChanged notification that said the site wasn't reachable. If I added a index file there was no reachabilityChanged notification.

2011-12-24 16:33:29.828 Practice[21131:fb03] -[MKNetworkEngine initWithHostName:customHeaderFields:] [Line 91] Engine initialized with host: localhost/~robert
2011-12-24 16:33:29.839 Practice[21131:fb03] -[MKNetworkOperation start] [Line 754] Saturday, December 24, 2011 4:33:29 PM Central Standard Time
Request
-------
curl -X GET -H "Accept-Language: en, fr, de, ja, nl, it, es, pt, pt-PT, da, fi, nb, sv, ko, zh-Hans, zh-Hant, ru, pl, tr, uk, ar, hr, cs, el, he, ro, sk, th, id, ms, en-GB, ca, hu, vi, en-us" "http://localhost/~robert/pratice"
2011-12-24 16:33:29.980 Practice[21131:fb03] -[MKNetworkOperation connection:willSendRequest:redirectResponse:] [Line 1017] Redirected to http://localhost/~robert/pratice/
2011-12-24 16:33:29.989 Practice[21131:fb03] -[MKNetworkOperation operationSucceeded] [Line 1125] Saturday, December 24, 2011 4:33:29 PM Central Standard Time
Request
-------
curl -X GET -H "Accept-Language: en, fr, de, ja, nl, it, es, pt, pt-PT, da, fi, nb, sv, ko, zh-Hans, zh-Hant, ru, pl, tr, uk, ar, hr, cs, el, he, ro, sk, th, id, ms, en-GB, ca, hu, vi, en-us" "http://localhost/~robert/pratice"
--------
Response
--------

Index of /~robert/pratice

Index of /~robert/pratice

Name	Last modified	Size	Description

Parent Directory	-

Apache/2.2.20 (Unix) DAV/2 PHP/5.3.6 with Suhosin-Patch Server at localhost Port 80

2011-12-24 16:33:29.990 Practice[21131:fb03] Success
2011-12-24 16:33:30.836 Practice[21131:11903] Reachability: -- -------
2011-12-24 16:33:30.836 Practice[21131:fb03] -[MKNetworkEngine reachabilityChanged:] [Line 168] Server [localhost/~robert] is not reachable