Refactor OpenStack services to use default OkCodes
diff --git a/openstack/compute/v2/extensions/defsecrules/requests.go b/openstack/compute/v2/extensions/defsecrules/requests.go
index 294bae3..c29d46f 100644
--- a/openstack/compute/v2/extensions/defsecrules/requests.go
+++ b/openstack/compute/v2/extensions/defsecrules/requests.go
@@ -88,7 +88,6 @@
 
 	_, result.Err = client.Request("GET", resourceURL(client, id), gophercloud.RequestOpts{
 		JSONResponse: &result.Body,
-		OkCodes:      []int{200},
 	})
 
 	return result
@@ -98,9 +97,7 @@
 func Delete(client *gophercloud.ServiceClient, id string) gophercloud.ErrResult {
 	var result gophercloud.ErrResult
 
-	_, result.Err = client.Request("DELETE", resourceURL(client, id), gophercloud.RequestOpts{
-		OkCodes: []int{204},
-	})
+	_, result.Err = client.Request("DELETE", resourceURL(client, id), gophercloud.RequestOpts{})
 
 	return result
 }
diff --git a/openstack/compute/v2/extensions/floatingip/requests.go b/openstack/compute/v2/extensions/floatingip/requests.go
index d154038..1fad93a 100644
--- a/openstack/compute/v2/extensions/floatingip/requests.go
+++ b/openstack/compute/v2/extensions/floatingip/requests.go
@@ -58,7 +58,6 @@
 	var res GetResult
 	_, res.Err = client.Request("GET", getURL(client, id), gophercloud.RequestOpts{
 		JSONResponse: &res.Body,
-		OkCodes:      []int{200},
 	})
 	return res
 }
@@ -66,9 +65,7 @@
 // Delete requests the deletion of a previous allocated FloatingIP.
 func Delete(client *gophercloud.ServiceClient, id string) DeleteResult {
 	var res DeleteResult
-	_, res.Err = client.Request("DELETE", deleteURL(client, id), gophercloud.RequestOpts{
-		OkCodes: []int{202},
-	})
+	_, res.Err = client.Request("DELETE", deleteURL(client, id), gophercloud.RequestOpts{})
 	return res
 }
 
@@ -84,7 +81,6 @@
 
 	_, res.Err = client.Request("POST", associateURL(client, serverId), gophercloud.RequestOpts{
 		JSONBody: reqBody,
-		OkCodes:  []int{202},
 	})
 	return res
 }
@@ -99,7 +95,6 @@
 
 	_, res.Err = client.Request("POST", disassociateURL(client, serverId), gophercloud.RequestOpts{
 		JSONBody: reqBody,
-		OkCodes:  []int{202},
 	})
 	return res
 }
diff --git a/openstack/compute/v2/extensions/keypairs/requests.go b/openstack/compute/v2/extensions/keypairs/requests.go
index 287e412..1ab7274 100644
--- a/openstack/compute/v2/extensions/keypairs/requests.go
+++ b/openstack/compute/v2/extensions/keypairs/requests.go
@@ -94,7 +94,6 @@
 	var res GetResult
 	_, res.Err = client.Request("GET", getURL(client, name), gophercloud.RequestOpts{
 		JSONResponse: &res.Body,
-		OkCodes:      []int{200},
 	})
 	return res
 }
@@ -102,8 +101,6 @@
 // Delete requests the deletion of a previous stored KeyPair from the server.
 func Delete(client *gophercloud.ServiceClient, name string) DeleteResult {
 	var res DeleteResult
-	_, res.Err = client.Request("DELETE", deleteURL(client, name), gophercloud.RequestOpts{
-		OkCodes: []int{202},
-	})
+	_, res.Err = client.Request("DELETE", deleteURL(client, name), gophercloud.RequestOpts{})
 	return res
 }
diff --git a/openstack/compute/v2/extensions/secgroups/requests.go b/openstack/compute/v2/extensions/secgroups/requests.go
index 8f0a7a0..f8d88d3 100644
--- a/openstack/compute/v2/extensions/secgroups/requests.go
+++ b/openstack/compute/v2/extensions/secgroups/requests.go
@@ -138,7 +138,6 @@
 
 	_, result.Err = client.Request("GET", resourceURL(client, id), gophercloud.RequestOpts{
 		JSONResponse: &result.Body,
-		OkCodes:      []int{200},
 	})
 
 	return result
@@ -148,9 +147,7 @@
 func Delete(client *gophercloud.ServiceClient, id string) gophercloud.ErrResult {
 	var result gophercloud.ErrResult
 
-	_, result.Err = client.Request("DELETE", resourceURL(client, id), gophercloud.RequestOpts{
-		OkCodes: []int{202},
-	})
+	_, result.Err = client.Request("DELETE", resourceURL(client, id), gophercloud.RequestOpts{})
 
 	return result
 }
@@ -247,9 +244,7 @@
 func DeleteRule(client *gophercloud.ServiceClient, id string) gophercloud.ErrResult {
 	var result gophercloud.ErrResult
 
-	_, result.Err = client.Request("DELETE", resourceRuleURL(client, id), gophercloud.RequestOpts{
-		OkCodes: []int{202},
-	})
+	_, result.Err = client.Request("DELETE", resourceRuleURL(client, id), gophercloud.RequestOpts{})
 
 	return result
 }
@@ -268,7 +263,6 @@
 	_, result.Err = client.Request("POST", serverActionURL(client, serverID), gophercloud.RequestOpts{
 		JSONResponse: &result.Body,
 		JSONBody:     actionMap("add", groupName),
-		OkCodes:      []int{202},
 	})
 
 	return result
@@ -281,7 +275,6 @@
 	_, result.Err = client.Request("POST", serverActionURL(client, serverID), gophercloud.RequestOpts{
 		JSONResponse: &result.Body,
 		JSONBody:     actionMap("remove", groupName),
-		OkCodes:      []int{202},
 	})
 
 	return result
diff --git a/openstack/compute/v2/extensions/startstop/requests.go b/openstack/compute/v2/extensions/startstop/requests.go
index 04b5909..89bc248 100644
--- a/openstack/compute/v2/extensions/startstop/requests.go
+++ b/openstack/compute/v2/extensions/startstop/requests.go
@@ -14,7 +14,6 @@
 
 	_, res.Err = client.Request("POST", actionURL(client, id), gophercloud.RequestOpts{
 		JSONBody: reqBody,
-		OkCodes:  []int{202},
 	})
 
 	return res
@@ -28,7 +27,6 @@
 
 	_, res.Err = client.Request("POST", actionURL(client, id), gophercloud.RequestOpts{
 		JSONBody: reqBody,
-		OkCodes:  []int{202},
 	})
 
 	return res
diff --git a/openstack/compute/v2/extensions/tenantnetworks/requests.go b/openstack/compute/v2/extensions/tenantnetworks/requests.go
index cd73479..99cd1ae 100644
--- a/openstack/compute/v2/extensions/tenantnetworks/requests.go
+++ b/openstack/compute/v2/extensions/tenantnetworks/requests.go
@@ -19,7 +19,6 @@
 	var res GetResult
 	_, res.Err = client.Request("GET", getURL(client, id), gophercloud.RequestOpts{
 		JSONResponse: &res.Body,
-		OkCodes:      []int{200},
 	})
 	return res
 }
diff --git a/openstack/compute/v2/extensions/volumeattach/requests.go b/openstack/compute/v2/extensions/volumeattach/requests.go
index 79709fd..62de27c 100644
--- a/openstack/compute/v2/extensions/volumeattach/requests.go
+++ b/openstack/compute/v2/extensions/volumeattach/requests.go
@@ -67,7 +67,6 @@
 	var res GetResult
 	_, res.Err = client.Request("GET", getURL(client, serverId, aId), gophercloud.RequestOpts{
 		JSONResponse: &res.Body,
-		OkCodes:      []int{200},
 	})
 	return res
 }
@@ -75,8 +74,6 @@
 // Delete requests the deletion of a previous stored VolumeAttachment from the server.
 func Delete(client *gophercloud.ServiceClient, serverId, aId string) DeleteResult {
 	var res DeleteResult
-	_, res.Err = client.Request("DELETE", deleteURL(client, serverId, aId), gophercloud.RequestOpts{
-		OkCodes: []int{202},
-	})
+	_, res.Err = client.Request("DELETE", deleteURL(client, serverId, aId), gophercloud.RequestOpts{})
 	return res
 }