OSDN Git Service
(root)
/
kcd
/
KCD.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ba1ff1
)
インデント修正
author
masakih
<masakih@users.sourceforge.jp>
Wed, 25 Oct 2017 12:15:58 +0000
(21:15 +0900)
committer
masakih
<masakih@users.sourceforge.jp>
Wed, 25 Oct 2017 12:15:58 +0000
(21:15 +0900)
KCD/CustomHTTPProtocol.swift
patch
|
blob
|
history
diff --git
a/KCD/CustomHTTPProtocol.swift
b/KCD/CustomHTTPProtocol.swift
index
8f9510a
..
f36e92e
100644
(file)
--- a/
KCD/CustomHTTPProtocol.swift
+++ b/
KCD/CustomHTTPProtocol.swift
@@
-93,8
+93,8
@@
extension HTTPURLResponse {
extension URLCache {
static let kcd = URLCache(memoryCapacity: 32 * 1024 * 1024,
-
diskCapacity: 1024 * 1024 * 1024,
-
diskPath: ApplicationDirecrories.support.appendingPathComponent("Caches").path)
+ diskCapacity: 1024 * 1024 * 1024,
+ diskPath: ApplicationDirecrories.support.appendingPathComponent("Caches").path)
static let cachedExtensions = ["swf", "flv", "png", "jpg", "jpeg", "mp3"]
func storeIfNeeded(for task: URLSessionTask, data: Data) {