关于NSURL的一些属性的记录

关于NSURL的一些属性的记录

   NSLog(@"%@", request.URL.absoluteString);
NSLog(@"%@", request.URL.relativeString);
NSLog(@"%@", request.URL.scheme);
NSLog(@"%@", request.URL.resourceSpecifier);
NSLog(@"%@", request.URL.host);
NSLog(@"%@", request.URL.port);
NSLog(@"%@", request.URL.user);
NSLog(@"%@", request.URL.path);
NSLog(@"%@", request.URL.fragment);
NSLog(@"%@", request.URL.parameterString);
NSLog(@"%@", request.URL.query);
NSLog(@"%@", request.URL.relativePath);
NSLog(@"%@", request.URL.pathExtension); -- ::55.192 知乎日报[:] https://pic3.zhimg.com/b4f7acc26514fb634131b04a430e6cbf_b.jpg
-- ::55.192 知乎日报[:] https://pic3.zhimg.com/b4f7acc26514fb634131b04a430e6cbf_b.jpg
-- ::55.192 知乎日报[:] https
-- ::55.192 知乎日报[:] //pic3.zhimg.com/b4f7acc26514fb634131b04a430e6cbf_b.jpg
-- ::55.192 知乎日报[:] pic3.zhimg.com
-- ::55.193 知乎日报[:] (null)
-- ::55.193 知乎日报[:] (null)
-- ::55.193 知乎日报[:] /b4f7acc26514fb634131b04a430e6cbf_b.jpg
-- ::55.193 知乎日报[:] (null)
-- ::55.193 知乎日报[:] (null)
-- ::55.193 知乎日报[:] (null)
-- ::55.193 知乎日报[:] /b4f7acc26514fb634131b04a430e6cbf_b.jpg
-- ::55.194 知乎日报[:] jpg
上一篇:Python之日志处理 logging模块


下一篇:linux gdb基本概念